{"answers":{"affected":"3 open source packages ship an affected version, including wheel. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24049 exists.","fix":"Upgrade wheel to 0.46.2 or later.","what":"CVE-2026-24049 is a high-severity path traversal vulnerability in pypa wheel, published on 22 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-24049 and fix it if it is affected.\n\nWhat it is: CVE-2026-24049 is a high-severity path traversal vulnerability in pypa wheel, published on 22 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24049 exists.\n\nAffected packages and fixed versions:\n- wheel (PyPI): affected from 0.40.0; fixed in 0.46.2\n- wheel (PyPI): affected from 0.40.0; fixed in 0.46.2\n- wheel (PyPI): affected from 0.40.0; fixed in 0.46.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-24049/ (Markdown: https://insights.sbomify.com/CVE-2026-24049/index.md)","id":"CVE-2026-24049","markdown":"https://insights.sbomify.com/CVE-2026-24049/index.md","name":"CVE-2026-24049","record":{"aliases":["ALPINE-CVE-2026-24049","ALSA-2026:1902","ALSA-2026:1939","ALSA-2026:2090","AZL-75192","AZL-75195","AZL-77826","BELL-CVE-2026-24049","CLEANSTART-2026-JE51957","CLEANSTART-2026-RC93064","DEBIAN-CVE-2026-24049","ECHO-3d34-cec5-cf72","GHSA-8rrh-rw8j-w5fx","MINI-2mhf-ww6q-74j3","MINI-44h6-x5qw-xg5w","MINI-877q-m6xh-6h4p","MINI-f48p-q96g-rmfr","MINI-g4mw-jpm5-fjv5","MINI-hw4h-w896-gwrr","MINI-jrqh-hpmv-8h28","MINI-m9c4-v438-j4vj","MINI-qvwh-54hg-ggh3","MINI-rwq5-ggj3-h4xp","MINI-vr6m-jp4v-gc9q","MINI-w6pm-fqwx-6f62","MINI-wcpg-fjw3-49x8","OESA-2026-1279","OESA-2026-1280","OESA-2026-1281","OESA-2026-1376","PYSEC-2026-2047","RHSA-2026:1902","RHSA-2026:1939","RHSA-2026:2090","RHSA-2026:2710","RHSA-2026:2823","RHSA-2026:2865","RHSA-2026:2866","RLSA-2026:1902","RLSA-2026:1939","RLSA-2026:2090","ROOT-APP-PYPI-CVE-2026-24049","SUSE-SU-2026:0424-1","SUSE-SU-2026:0425-1","SUSE-SU-2026:0460-1","SUSE-SU-2026:20217-1","UBUNTU-CVE-2026-24049","USN-8221-1","openSUSE-SU-2026:10151-1","openSUSE-SU-2026:20147-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python wheel tool","requires_auth":"none","summary":"Attackers can exploit path traversal in the wheel unpack function to modify permissions of critical system files, leading to privilege escalation or code execution.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"wheel","vendor":"wheel_project"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","PyPI","Red Hat:discovery:2::el10","Red Hat:discovery:2::el8","Red Hat:discovery:2::el9","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus:9.6::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-02-05","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-05T03:32:03Z","kind":"github_poc","ref":"https://github.com/kriskimmerle/wheelaudit","stars":3,"title":"Python Wheel File Security Scanner — scan .whl files for security issues before installation. Detects path traversal (CVE-2026-24049), RECORD tampering, command shadowing, secrets, zip bombs. Zero deps."}],"tier":"weaponised"},"has_fix":true,"headline":"wheel Allows Arbitrary File Permission Modification via Path Traversal","id":"CVE-2026-24049","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":48,"n_references":3,"next":{"headline":"Zulip affected by Stored XSS in user profile modal","id":"CVE-2026-24050"},"packages":[{"ecosystem":"PyPI","fixed":["0.46.2"],"introduced":["0.40.0"],"last_affected":[],"package":"wheel","purl":null,"source":"GHSA-8rrh-rw8j-w5fx"},{"ecosystem":"PyPI","fixed":["0.46.2"],"introduced":["0.40.0"],"last_affected":[],"package":"wheel","purl":"pkg:pypi/wheel","source":"GHSA-8rrh-rw8j-w5fx"},{"ecosystem":"PyPI","fixed":["0.46.2"],"introduced":["0.40.0"],"last_affected":[],"package":"wheel","purl":"pkg:pypi/wheel","source":"PYSEC-2026-2047"},{"ecosystem":"AlmaLinux:10","fixed":["1:0.41.2-5.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"python3-wheel","purl":"pkg:rpm/almalinux/python3-wheel","source":"ALSA-2026:1902"},{"ecosystem":"AlmaLinux:10","fixed":["1:0.41.2-5.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"python3-wheel-wheel","purl":"pkg:rpm/almalinux/python3-wheel-wheel","source":"ALSA-2026:1902"},{"ecosystem":"AlmaLinux:8","fixed":["0.41.2-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/almalinux/python3.12-wheel","source":"ALSA-2026:2090"},{"ecosystem":"AlmaLinux:8","fixed":["0.41.2-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel-wheel","purl":"pkg:rpm/almalinux/python3.12-wheel-wheel","source":"ALSA-2026:2090"},{"ecosystem":"AlmaLinux:9","fixed":["0.41.2-3.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/almalinux/python3.12-wheel","source":"ALSA-2026:1939"},{"ecosystem":"AlmaLinux:9","fixed":["0.41.2-3.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel-wheel","purl":"pkg:rpm/almalinux/python3.12-wheel-wheel","source":"ALSA-2026:1939"},{"ecosystem":"Red Hat:discovery:2::el10","fixed":["0:2.4.3-2.el10"],"introduced":["0"],"last_affected":[],"package":"discovery-cli","purl":"pkg:rpm/redhat/discovery-cli","source":"RHSA-2026:2823"},{"ecosystem":"Red Hat:discovery:2::el8","fixed":["0:2.4.3-2.el8"],"introduced":["0"],"last_affected":[],"package":"discovery-cli","purl":"pkg:rpm/redhat/discovery-cli","source":"RHSA-2026:2823"},{"ecosystem":"Red Hat:discovery:2::el9","fixed":["0:2.4.3-2.el9"],"introduced":["0"],"last_affected":[],"package":"discovery-cli","purl":"pkg:rpm/redhat/discovery-cli","source":"RHSA-2026:2823"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["1:0.41.2-5.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/redhat/python-wheel","source":"RHSA-2026:1902"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["1:0.41.2-5.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"python3-wheel","purl":"pkg:rpm/redhat/python3-wheel","source":"RHSA-2026:1902"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["1:0.41.2-5.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"python3-wheel-wheel","purl":"pkg:rpm/redhat/python3-wheel-wheel","source":"RHSA-2026:1902"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.41.2-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/redhat/python3.12-wheel","source":"RHSA-2026:2090"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.41.2-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel-wheel","purl":"pkg:rpm/redhat/python3.12-wheel-wheel","source":"RHSA-2026:2090"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.41.2-3.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/redhat/python3.12-wheel","source":"RHSA-2026:1939"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.41.2-3.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel-wheel","purl":"pkg:rpm/redhat/python3.12-wheel-wheel","source":"RHSA-2026:1939"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["1:0.41.2-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/redhat/python-wheel","source":"RHSA-2026:2865"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["1:0.41.2-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"python3-wheel","purl":"pkg:rpm/redhat/python3-wheel","source":"RHSA-2026:2865"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["1:0.41.2-5.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"python3-wheel-wheel","purl":"pkg:rpm/redhat/python3-wheel-wheel","source":"RHSA-2026:2865"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:0.41.2-3.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/redhat/python3.12-wheel","source":"RHSA-2026:2866"},{"ecosystem":"Red Hat:rhel_eus:9.4::crb","fixed":["0:0.41.2-3.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel-wheel","purl":"pkg:rpm/redhat/python3.12-wheel-wheel","source":"RHSA-2026:2866"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["0:0.41.2-3.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/redhat/python3.12-wheel","source":"RHSA-2026:2710"},{"ecosystem":"Red Hat:rhel_eus:9.6::crb","fixed":["0:0.41.2-3.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel-wheel","purl":"pkg:rpm/redhat/python3.12-wheel-wheel","source":"RHSA-2026:2710"},{"ecosystem":"Rocky Linux:10","fixed":["1:0.41.2-5.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/rocky-linux/python-wheel?distro=rocky-linux-10-aarch64\u0026epoch=1","source":"RLSA-2026:1902"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.41.2-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/rocky-linux/python3.12-wheel?distro=rocky-linux-8-x86-64\u0026epoch=0","source":"RLSA-2026:2090"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.41.2-3.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"python3.12-wheel","purl":"pkg:rpm/rocky-linux/python3.12-wheel?distro=rocky-linux-9-x86-64\u0026epoch=0","source":"RLSA-2026:1939"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["0.40.0-150400.13.10.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:0460-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["0.40.0-150400.13.10.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:0460-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["0.40.0-150400.13.10.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:0460-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["0.40.0-150400.13.10.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:0460-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["0.40.0-150400.13.10.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2026:0460-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["0.42.0-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:0424-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["0.44.0-150700.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python313-wheel","purl":"pkg:rpm/suse/python313-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:0425-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["0.40.0-150400.13.10.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:0460-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["0.40.0-150400.13.10.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:0460-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["0.42.0-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:0424-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["0.45.1-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20217-1"}],"prev":{"headline":"Backstage has a Possible SSRF when reading from allowed URL's in `backend.reading.allow`","id":"CVE-2026-24048"},"products":["wheel"],"published":"2026-01-22","related":[{"cvss_score":7.5,"headline":"pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)","id":"CVE-2022-40898","kev_date_added":null,"published":"2022-12-22"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["pypa"]},"summary":"Attackers can exploit path traversal in the wheel unpack function to modify permissions of critical system files, leading to privilege escalation or code execution.","url":"https://insights.sbomify.com/CVE-2026-24049/"}