{"cve":"CVE-2026-24049","nvd":{"published":"2026-01-22T05:16:23.157","modified":"2026-09-10T13:17:45.017","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.5},"cwes":["CWE-22","CWE-732"],"references":["https://github.com/pypa/wheel/commit/7a7d2de96b22a9adf9208afcc9547e1001569fef","https://github.com/pypa/wheel/releases/tag/0.46.2","https://github.com/pypa/wheel/security/advisories/GHSA-8rrh-rw8j-w5fx","https://access.redhat.com/errata/RHSA-2026:10184","https://access.redhat.com/errata/RHSA-2026:13545"],"products":["wheel_project:wheel"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-24049","score":0.0035,"percentile":0.28643,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8rrh-rw8j-w5fx","url":"https://osv.dev/vulnerability/GHSA-8rrh-rw8j-w5fx","summary":"Wheel Affected by Arbitrary File Permission Modification via Path Traversal in wheel unpack","modified":"2026-09-10T03:50:32.887502862Z","packages":[{"ecosystem":"PyPI","name":"wheel","purl":"pkg:pypi/wheel","ranges":[">=0.40.0 <0.46.2"],"fixed":["0.46.2"]}]},{"id":"PYSEC-2026-2047","url":"https://osv.dev/vulnerability/PYSEC-2026-2047","summary":"Wheel Affected by Arbitrary File Permission Modification via Path Traversal in wheel unpack","modified":"2026-07-07T17:47:43.451695844Z","packages":[{"ecosystem":"PyPI","name":"wheel","purl":"pkg:pypi/wheel","ranges":[">=0.40.0 <0.46.2"],"fixed":["0.46.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}