RHSA-2026:48788
Vulnerability from csaf_redhat - Published: 2026-07-30 13:43 - Updated: 2026-11-07 05:56A flaw was found in pip. Prior to version 26.1, pip's self-update check functionality would execute after installing wheel packages. This process involved importing newly installed Python modules. A malicious actor could craft a specially designed wheel package that, when installed, could lead to the execution of arbitrary code or information disclosure due to the premature import of its modules during the self-update check.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms | — |
Vendor Fix
fix
|
A flaw was found in pip. When processing doubly-encoded package URLs from malicious package indexes, pip incorrectly handles the file paths. A remote attacker could exploit this by convincing a user to download or install a package from such an index. This could allow for files to be installed to arbitrary locations on the system, potentially leading to system compromise. This vulnerability primarily affects users utilizing the `pip download` command with the `--only-binary` option.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"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 Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\npython-pip:\n * python-pip-wheel-26.2-0.1.hum1 (noarch)\n * python3-pip-26.2-0.1.hum1 (noarch)\n * python-pip-26.2-0.1.hum1.src (src)\n\nSecurity Fix(es):\n\npython-pip:\n * CVE-2026-13346",
"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:48788",
"url": "https://access.redhat.com/errata/RHSA-2026:48788"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-13346",
"url": "https://access.redhat.com/security/cve/CVE-2026-13346"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-6357",
"url": "https://access.redhat.com/security/cve/CVE-2026-6357"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_48788.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
"tracking": {
"current_release_date": "2026-11-07T05:56:13+00:00",
"generator": {
"date": "2026-11-07T05:56:13+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.4.5"
}
},
"id": "RHSA-2026:48788",
"initial_release_date": "2026-07-30T13:43:08+00:00",
"revision_history": [
{
"date": "2026-07-30T13:43:08+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-09-18T21:12:26+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-11-07T05:56:13+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "python-pip-0:26.2-0.1.hum1@src",
"product": {
"name": "python-pip-0:26.2-0.1.hum1@src",
"product_id": "python-pip-0:26.2-0.1.hum1@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python-pip@26.2-0.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"product": {
"name": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"product_id": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python-pip-wheel@26.2-0.1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
},
{
"category": "product_version",
"name": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"product": {
"name": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"product_id": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python-pip-wheel@26.2-0.1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
},
{
"category": "product_version",
"name": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"product": {
"name": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"product_id": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3-pip@26.2-0.1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
},
{
"category": "product_version",
"name": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"product": {
"name": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"product_id": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3-pip@26.2-0.1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python-pip-0:26.2-0.1.hum1@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src"
},
"product_reference": "python-pip-0:26.2-0.1.hum1@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms"
},
"product_reference": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
},
"product_reference": "python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms"
},
"product_reference": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
},
"product_reference": "python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-6357",
"cwe": {
"id": "CWE-94",
"name": "Improper Control of Generation of Code"
},
"discovery_date": "2026-04-27T15:02:48.917600+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2463234"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in pip. Prior to version 26.1, pip\u0027s self-update check functionality would execute after installing wheel packages. This process involved importing newly installed Python modules. A malicious actor could craft a specially designed wheel package that, when installed, could lead to the execution of arbitrary code or information disclosure due to the premature import of its modules during the self-update check.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "pip: pip: Arbitrary code execution or information disclosure via malicious wheel package installation",
"title": "Vulnerability summary"
},
{
"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": [
"Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-6357"
},
{
"category": "external",
"summary": "RHBZ#2463234",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2463234"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-6357",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-6357"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-6357",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6357"
},
{
"category": "external",
"summary": "https://github.com/pypa/pip/pull/13923",
"url": "https://github.com/pypa/pip/pull/13923"
},
{
"category": "external",
"summary": "https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/#security-fixes",
"url": "https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/#security-fixes"
}
],
"release_date": "2026-04-27T14:19:47.657000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-30T13:43:08+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:48788"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "pip: pip: Arbitrary code execution or information disclosure via malicious wheel package installation"
},
{
"cve": "CVE-2026-13346",
"cwe": {
"id": "CWE-22",
"name": "Improper Limitation of a Pathname to a Restricted Directory"
},
"discovery_date": "2026-07-29T19:00:56.926395+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2508514"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in pip. When processing doubly-encoded package URLs from malicious package indexes, pip incorrectly handles the file paths. A remote attacker could exploit this by convincing a user to download or install a package from such an index. This could allow for files to be installed to arbitrary locations on the system, potentially leading to system compromise. This vulnerability primarily affects users utilizing the `pip download` command with the `--only-binary` option.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "pip: pip: Arbitrary file installation via malicious package indexes",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Note that this vulnerability only materially impacts users running pip download with the --only-binary option as installing source distributions from an untrusted index is already an unsafe operation that executes code during install time.",
"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": [
"Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-13346"
},
{
"category": "external",
"summary": "RHBZ#2508514",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2508514"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-13346",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-13346"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-13346",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-13346"
},
{
"category": "external",
"summary": "https://github.com/pypa/pip/pull/14110",
"url": "https://github.com/pypa/pip/pull/14110"
},
{
"category": "external",
"summary": "https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/",
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/"
}
],
"release_date": "2026-07-29T18:33:50.820000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-30T13:43:08+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:48788"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:L",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:python-pip-0:26.2-0.1.hum1@src",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python-pip-wheel-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-aarch64-rpms",
"Red Hat Hardened Images:python3-pip-0:26.2-0.1.hum1@noarch@public-hummingbird-x86_64-rpms"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "pip: pip: Arbitrary file installation via malicious package indexes"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.