RHSA-2026:36315

Vulnerability from csaf_redhat - Published: 2026-07-07 16:54 - Updated: 2026-07-15 18:02
Summary
Red Hat Security Advisory: python3.14-pip security update
Severity
Important
Notes
Topic: An update for python3.14-pip is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details: Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems. Security Fix(es): * python-pip: Path traversal via malicious entry point name in pip wheel installation allows arbitrary file overwrite (CVE-2026-8643) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

A flaw was found in pip, the package installer for Python. A remote attacker can exploit this vulnerability by tricking a victim into installing a malicious Python wheel. This wheel contains specially crafted entry-point names that use directory traversal or absolute paths. This allows pip to write generated script wrappers outside the intended installation directory, leading to arbitrary file overwrite. This can severely impact system integrity and availability, and in certain scenarios, may lead to arbitrary code execution.

CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
Product Identifier Version Remediation
Unresolved product id: AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.noarch
Vendor Fix fix
Workaround
Unresolved product id: AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.src
Vendor Fix fix
Workaround
Unresolved product id: AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch
Vendor Fix fix
Workaround
Threats
Impact Important
Acknowledgments

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for python3.14-pip is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.\n\nSecurity Fix(es):\n\n* python-pip: Path traversal via malicious entry point name in pip wheel installation allows arbitrary file overwrite (CVE-2026-8643)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2026:36315",
        "url": "https://access.redhat.com/errata/RHSA-2026:36315"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "2460927",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460927"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_36315.json"
      }
    ],
    "title": "Red Hat Security Advisory: python3.14-pip security update",
    "tracking": {
      "current_release_date": "2026-07-15T18:02:50+00:00",
      "generator": {
        "date": "2026-07-15T18:02:50+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.3.6"
        }
      },
      "id": "RHSA-2026:36315",
      "initial_release_date": "2026-07-07T16:54:11+00:00",
      "revision_history": [
        {
          "date": "2026-07-07T16:54:11+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-07-07T16:54:11+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-07-15T18:02:50+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux AppStream (v. 9)",
                "product": {
                  "name": "Red Hat Enterprise Linux AppStream (v. 9)",
                  "product_id": "AppStream-9.8.0.Z.MAIN.EUS",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:enterprise_linux:9::appstream"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python3.14-pip-0:25.2-3.el9_8.5.noarch",
                "product": {
                  "name": "python3.14-pip-0:25.2-3.el9_8.5.noarch",
                  "product_id": "python3.14-pip-0:25.2-3.el9_8.5.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3.14-pip@25.2-3.el9_8.5?arch=noarch"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch",
                "product": {
                  "name": "python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch",
                  "product_id": "python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3.14-pip-wheel@25.2-3.el9_8.5?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python3.14-pip-0:25.2-3.el9_8.5.src",
                "product": {
                  "name": "python3.14-pip-0:25.2-3.el9_8.5.src",
                  "product_id": "python3.14-pip-0:25.2-3.el9_8.5.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3.14-pip@25.2-3.el9_8.5?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3.14-pip-0:25.2-3.el9_8.5.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
          "product_id": "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.noarch"
        },
        "product_reference": "python3.14-pip-0:25.2-3.el9_8.5.noarch",
        "relates_to_product_reference": "AppStream-9.8.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3.14-pip-0:25.2-3.el9_8.5.src as a component of Red Hat Enterprise Linux AppStream (v. 9)",
          "product_id": "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.src"
        },
        "product_reference": "python3.14-pip-0:25.2-3.el9_8.5.src",
        "relates_to_product_reference": "AppStream-9.8.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
          "product_id": "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch"
        },
        "product_reference": "python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch",
        "relates_to_product_reference": "AppStream-9.8.0.Z.MAIN.EUS"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "summary": "This issue was discovered by Red Hat."
        }
      ],
      "cve": "CVE-2026-8643",
      "cwe": {
        "id": "CWE-22",
        "name": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"
      },
      "discovery_date": "2026-04-22T23:09:35+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2460927"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in pip, the package installer for Python. A remote attacker can exploit this vulnerability by tricking a victim into installing a malicious Python wheel. This wheel contains specially crafted entry-point names that use directory traversal or absolute paths. This allows pip to write generated script wrappers outside the intended installation directory, leading to arbitrary file overwrite. This can severely impact system integrity and availability, and in certain scenarios, may lead to arbitrary code execution.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "python-pip: Path traversal via malicious entry point name in pip wheel installation allows arbitrary file overwrite",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This Important flaw in pip\u0027s wheel installation process allows for arbitrary file overwrite due to path traversal. An attacker could exploit this by convincing a user to install a specially crafted malicious Python wheel. While file overwrites are limited to the installing user\u0027s permissions, using `pip install` with elevated privileges in Red Hat environments significantly increases the potential impact, potentially leading to system integrity compromise or arbitrary code execution.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.noarch",
          "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.src",
          "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-8643"
        },
        {
          "category": "external",
          "summary": "RHBZ#2460927",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460927"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-8643",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-8643"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-8643",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-8643"
        },
        {
          "category": "external",
          "summary": "https://github.com/pypa/pip/commit/8eb178480bd1a2b223f509fc430796b265158dfb",
          "url": "https://github.com/pypa/pip/commit/8eb178480bd1a2b223f509fc430796b265158dfb"
        }
      ],
      "release_date": "2026-05-27T17:03:36.585000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-07T16:54:11+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.noarch",
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.src",
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:36315"
        },
        {
          "category": "workaround",
          "details": "To mitigate this issue, users should avoid installing Python wheels from untrusted sources. It is strongly advised against using `pip install` with elevated privileges, such as `sudo`, when installing wheels. Additionally, administrators should inspect `entry_points.txt` within wheels for path separators or absolute paths before installation.",
          "product_ids": [
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.noarch",
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.src",
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.0,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.noarch",
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-0:25.2-3.el9_8.5.src",
            "AppStream-9.8.0.Z.MAIN.EUS:python3.14-pip-wheel-0:25.2-3.el9_8.5.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "python-pip: Path traversal via malicious entry point name in pip wheel installation allows arbitrary file overwrite"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…