CVEfocus › CVE database › CVE-2026-24049

CVE-2026-24049wheel Allows Arbitrary File Permission Modification via Path Traversal

CVSS 7.1 HighEPSS 0.3% (higher than 15% of CVEs)Published 2026-01-22Updated 2026-09-16Assigner: GitHub_M

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.

CWE-22CWE-732

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, PyPI, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
6Fix pending
5Will not fix
23Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04wheelNot affected
vulnerable_code_not_present
Ubuntu 25.10python-pipWill not fix
On focal and earlier, the python-pip package bundles wheel binaries when built. After updating wheel, a no-change rebuild of python-pip is required. On jammy…
UBUNTU-CVE-2026-24049
Ubuntu 25.10wheelWill not fix
On focal and earlier, the python-pip package bundles wheel binaries when built. After updating wheel, a no-change rebuild of python-pip is required. On jammy…
UBUNTU-CVE-2026-24049
Ubuntu 24.04wheelFix pending0.42.0-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-24049
Ubuntu 22.04wheelNot affected
vulnerable_code_not_present
Ubuntu 20.04python-pipFix pendingUBUNTU-CVE-2026-24049
Ubuntu 18.04python-pipFix pendingUBUNTU-CVE-2026-24049
Ubuntu 16.04python-pipFix pendingUBUNTU-CVE-2026-24049
Ubuntu 14.04python-pipFix pendingUBUNTU-CVE-2026-24049
Debian 14wheelFixed0.46.3-1DEBIAN-CVE-2026-24049
Debian 13wheelFix pendingDEBIAN-CVE-2026-24049
Red Hat Enterprise Linux 10python-wheelFixed1:0.41.2-5.el10_1.1RHSA-2026:1902
Red Hat Enterprise Linux 10python3-wheelFixed1:0.41.2-5.el10_1.1RHSA-2026:1902
Red Hat Enterprise Linux 10python3-wheel-wheelFixed1:0.41.2-5.el10_1.1RHSA-2026:1902
Red Hat Enterprise Linux 10python3.14-setuptoolsNot affected
Red Hat Enterprise Linux 10python3.14-setuptools-wheelNot affected
Red Hat Enterprise Linux 9python-wheelNot affected
Red Hat Enterprise Linux 9python3-wheelNot affected
Red Hat Enterprise Linux 9python3-wheel-wheelNot affected
Red Hat Enterprise Linux 9python3.11-wheelNot affected
Red Hat Enterprise Linux 9python3.11-wheel-wheelNot affected
Red Hat Enterprise Linux 9python3.12-wheelFixed0:0.41.2-3.el9_7.1RHSA-2026:1939
Red Hat Enterprise Linux 9python3.12-wheel-wheelFixed0:0.41.2-3.el9_7.1RHSA-2026:1939
Red Hat Enterprise Linux 9python3.14-setuptoolsNot affected
Red Hat Enterprise Linux 9python3.14-setuptools-wheelNot affected
Red Hat Enterprise Linux 8python-wheelNot affected
Red Hat Enterprise Linux 8python2-wheelNot affected
Red Hat Enterprise Linux 8python2-wheel-wheelNot affected
Red Hat Enterprise Linux 8python3-wheelNot affected
Red Hat Enterprise Linux 8python3-wheel-wheelNot affected
Red Hat Enterprise Linux 8python3.11-wheelNot affected
Red Hat Enterprise Linux 8python3.11-wheel-wheelNot affected
Red Hat Enterprise Linux 8python3.12-wheelFixed0:0.41.2-4.el8_10RHSA-2026:2090
Red Hat Enterprise Linux 8python3.12-wheel-wheelFixed0:0.41.2-4.el8_10RHSA-2026:2090
Red Hat Enterprise Linux 8python38-wheelNot affected
Red Hat Enterprise Linux 8python38-wheel-wheelNot affected
Red Hat Enterprise Linux 8python39-wheelNot affected
Red Hat Enterprise Linux 8python39-wheel-wheelNot affected
Red Hat Enterprise Linux 7python3-wheelNot affected
Red Hat Enterprise Linux 6taglibWill not fix
Will not fix
Red Hat Enterprise Linux 6taglib-develWill not fix
Will not fix
Red Hat Enterprise Linux 6taglib-docWill not fix
Will not fix
AlmaLinux 10python3-wheelFixed1:0.41.2-5.el10_1.1ALSA-2026:1902
AlmaLinux 10python3-wheel-wheelFixed1:0.41.2-5.el10_1.1ALSA-2026:1902
AlmaLinux 9python3.12-wheelFixed0.41.2-3.el9_7.1ALSA-2026:1939
AlmaLinux 9python3.12-wheel-wheelFixed0.41.2-3.el9_7.1ALSA-2026:1939
AlmaLinux 8python3.12-wheelFixed0.41.2-4.el8_10ALSA-2026:2090
AlmaLinux 8python3.12-wheel-wheelFixed0.41.2-4.el8_10ALSA-2026:2090
Rocky Linux 10python-wheelFixed1:0.41.2-5.el10_1.1RLSA-2026:1902
Rocky Linux 9python3.12-wheelFixed0:0.41.2-3.el9_7.1RLSA-2026:1939
Rocky Linux 8python3.12-wheelFixed0:0.41.2-4.el8_10RLSA-2026:2090
Alpine Linux 3.24py3-wheelFixed0.46.3-r0ALPINE-CVE-2026-24049
Alpine Linux 3.23py3-wheelFixed0.46.3-r0ALPINE-CVE-2026-24049
Alpine Linux 3.22py3-wheelFixed0.46.3-r0ALPINE-CVE-2026-24049
PyPI librarywheelFixed0.46.2PYSEC-2026-2047

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.