cve.bz

CVE-2026-24049 wheel project wheel: Path traversal

5.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.5) in wheel project wheel. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in wheel 0.46.2.

On this page
wheel is a command line tool for manipulating Python wheel files, as defined in PEP 427. In versions 0.40.0 through 0.46.1, the unpack function is vulnerable to file permission modification through mishandling of file permissions after extraction. The logic blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path. Attackers can craft a malicious wheel file that, when unpacked, changes the permissions of critical system files (e.g., /etc/passwd, SSH keys, config files), allowing for Privilege Escalation or arbitrary code execution by modifying now-writable scripts. This issue has been fixed in version 0.46.2.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-24049 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-24049?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-24049?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-24049 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
wheel_project:wheelfrom 0.40.0 before 0.46.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8rrh-rw8j-w5fxPyPIwheel>=0.40.0 <0.46.20.46.2
PYSEC-2026-2047PyPIwheel>=0.40.0 <0.46.20.46.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13wheelno fix listedDEBIAN-CVE-2026-24049
Debian14wheel0.46.3-1DEBIAN-CVE-2026-24049
Ubuntu25.10wheel, python-pipno fix listedUBUNTU-CVE-2026-24049
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 morepython-pipno fix listedUBUNTU-CVE-2026-24049
UbuntuPro:24.04:LTSwheel0.42.0-2ubuntu0.1~esm1UBUNTU-CVE-2026-24049 USN-8221-1
Red Hatansible_automation_platform:2.5::el8automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.6.26-1.el8apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el8automation-gateway, automation-gateway-config, automation-gateway-server0:2.5.20260225-1.el8apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el8python3.12-aiohttp, python3.12-aiohttp-debuginfo, python3.12-aiohttp-debugsource0:3.13.3-2.el8apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el8python3.12-protobuf, python3.12-protobuf-debuginfo, python3.12-protobuf-debugsource0:5.29.6-1.el8apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el8receptor, receptorctl, receptor-debuginfo and 1 more0:1.6.3-4.el8apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8python3.12-django0:4.2.28-1.el8apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.6.26-1.el9apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el9automation-gateway, automation-gateway-config, automation-gateway-server0:2.5.20260225-1.el9apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el9python3.12-aiohttp, python3.12-aiohttp-debuginfo, python3.12-aiohttp-debugsource0:3.13.3-2.el9apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el9python3.12-protobuf, python3.12-protobuf-debuginfo, python3.12-protobuf-debugsource0:5.29.6-1.el9apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el9receptor, receptorctl, receptor-debuginfo and 1 more0:1.6.3-4.el9apRHSA-2026:3959
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9python3.12-django0:4.2.28-1.el9apRHSA-2026:3959
26 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 morepython-wheel0.40.0-150400.13.10.1SUSE-SU-2026:0460-1
SUSELinux Enterprise Module for Python 3 15 SP7python313-wheel0.44.0-150700.3.3.1SUSE-SU-2026:0425-1
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python-wheel0.42.0-150600.3.3.1SUSE-SU-2026:0424-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-wheel0.45.1-160000.3.1SUSE-SU-2026:20217-1
openSUSELeap 15.6python-wheel0.40.0-150400.13.10.1SUSE-SU-2026:0460-1
openSUSELeap 15.6python-wheel0.42.0-150600.3.3.1SUSE-SU-2026:0424-1
openSUSELeap 16.0python-wheel0.45.1-160000.3.1openSUSE-SU-2026:20147-1
openSUSETumbleweedpython-wheel0.46.3-1.1openSUSE-SU-2026:10151-1
AlmaLinux8python3.12-wheel, python3.12-wheel-wheel0.41.2-4.el8_10ALSA-2026:2090
AlmaLinux9python3.12-wheel, python3.12-wheel-wheel0.41.2-3.el9_7.1ALSA-2026:1939
AlmaLinux10python3-wheel, python3-wheel-wheel1:0.41.2-5.el10_1.1ALSA-2026:1902
Rocky Linux8python3.12-wheel0:0.41.2-4.el8_10RLSA-2026:2090
Rocky Linux9python3.12-wheel0:0.41.2-3.el9_7.1RLSA-2026:1939
Rocky Linux10python-wheel1:0.41.2-5.el10_1.1RLSA-2026:1902
Alpinev3.22, v3.23, v3.24py3-wheel0.46.3-r0ALPINE-CVE-2026-24049
Azure Linux2python-virtualenvno fix listedAZL-75192
Azure Linux3python-virtualenv20.36.1-2AZL-77826
Azure Linux3python-wheel0.43.0-2AZL-75195
Alpaquita25, streampy3-wheel0.46.2-r0BELL-CVE-2026-24049
BellSoft Hardened Containers25, streampy3-wheel0.46.2-r0BELL-CVE-2026-24049

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Discovery 2 for RHEL 10discovery-cli-0:2.4.3-2.el10Fixed 2026-02-17RHSA-2026:2823
Discovery 2 for RHEL 8discovery-cli-0:2.4.3-2.el8Fixed 2026-02-17RHSA-2026:2823
Discovery 2 for RHEL 9discovery-cli-0:2.4.3-2.el9Fixed 2026-02-17RHSA-2026:2823
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-controller-0:4.6.26-1.el8apFixed 2026-03-06RHSA-2026:3959
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-controller-0:4.6.26-1.el9apFixed 2026-03-06RHSA-2026:3959
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-controller-0:4.7.9-1.el9apFixed 2026-03-06RHSA-2026:3958
Red Hat Enterprise Linux 10python-wheel-1:0.41.2-5.el10_1.1Fixed 2026-02-04RHSA-2026:1902
Red Hat Enterprise Linux 10.0 Extended Update Supportpython-wheel-1:0.41.2-5.el10_0.1Fixed 2026-02-18RHSA-2026:2865
Red Hat Enterprise Linux 8python3.12-wheel-0:0.41.2-4.el8_10Fixed 2026-02-05RHSA-2026:2090
Red Hat Enterprise Linux 9python3.12-wheel-0:0.41.2-3.el9_7.1Fixed 2026-02-04RHSA-2026:1939
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Will not fix
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorWill not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-rhel9-operatorWill not fix
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-8-rhel8Not affected
170 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-24049.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON