CVE-2026-3479
pkgutil.get_data() does not enforce documented restrictions
Mitigation
- Upgrade CPython to 3.15.0a8 or later.
Who should check
- Anyone running Python Software Foundation CPython < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8
Vulnerability facts
- Affected
- Python Software Foundation CPython < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8
- Fixed in
- Python Software Foundation CPython 3.13.13, Python Software Foundation CPython 3.14.4, Python Software Foundation CPython 3.15.0a8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.get_data() has the same security model as open(). The documentation has been updated to clarify this point. There is no vulnerability in the function if following the intended security model. pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Python Software Foundation CPython | < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-3479. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-3479.md Affected: Python Software Foundation CPython < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8 Fixed in: Python Software Foundation CPython 3.13.13, Python Software Foundation CPython 3.14.4, Python Software Foundation CPython 3.15.0a8 Steps: 1. Search this machine and project for Python Software Foundation CPython: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/python/cpython/pull/146122
- https://github.com/python/cpython/commit/bcdf231946b1da8bdfbab4c05539bb0cc964a1c7
- https://github.com/python/cpython/commit/5af6ce3e7b643a30a02d22245c1e3f4a8bc0a1fe
- https://github.com/python/cpython/commit/cf59bf76470f3d75ad47d80ffb8ce76b64b5e943
- https://github.com/python/cpython/commit/d786d59a8f7196bb630100a869f28ad13436b59c
FAQ
Is CVE-2026-3479 being exploited?
There is no confirmed exploitation: CVE-2026-3479 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-3479?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-3479?
Python Software Foundation CPython < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8.
Is there a fix for CVE-2026-3479?
Yes. Fixed in Python Software Foundation CPython 3.13.13, Python Software Foundation CPython 3.14.4, Python Software Foundation CPython 3.15.0a8. Upgrade CPython to 3.15.0a8 or later.
How do I check if I'm affected by CVE-2026-3479?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.