CVE-2026-24049
wheel Allows Arbitrary File Permission Modification via Path Traversal
Check your servers for CVE-2026-24049
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-24049 affects wheel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Jan 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-732 Incorrect Permission Assignment for Critical Resource
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of wheel and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i wheel
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-24049 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-24049RHEL, Rocky, Alma, Fedora
rpm -q wheel
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-24049Alpine
apk list --installed | grep -i wheelWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-24049
trivy image --scanners vuln IMAGE | grep CVE-2026-24049
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/pypa/wheel/security/advisories/GHSA-8rrh-rw8j-w5fx github.com
- https://access.redhat.com/security/cve/CVE-2026-24049 access.redhat.com · vdb entry
- RHBZ#2431959 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:2823 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:3959 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:3958 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2090 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2866 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2710 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:1939 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2865 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:1902 access.redhat.com · vendor advisory
35 more
- https://access.redhat.com/errata/RHSA-2026:2900 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:61628 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:3461 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:3462 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:3960 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:13545 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:62115 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2675 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2694 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:10184 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2695 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2106 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:3782 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19712 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:3713 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:5119 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:20089 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:17599 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6555 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7250 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6565 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6562 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6192 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:14020 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2762 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:4942 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:4185 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:4215 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:1942 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2681 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2754 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:1504 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2925 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:4271 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:2139 access.redhat.com · vendor advisory
Other references
- https://github.com/pypa/wheel/commit/7a7d2de96b22a9adf9208afcc9547e1001569fef github.com
- https://github.com/pypa/wheel/releases/tag/0.46.2 github.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24049.json security.access.redhat.com
Source: the record CVE-2026-24049 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse