CVE-2026-3479: Python Software Foundation CPython · Path Traversal
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 2.1 Low · fixed in 3.15.0a8 : update Python Software Foundation CPython when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.15.0a8, 3.14.4, 3.13.13
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade Python Software Foundation CPython to 3.15.0a8, 3.14.4 or 3.13.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
AI-suggested
2) Until patches are released, restrict local user access to systems running CPython to trusted personnel only, minimizing the risk of local exploitation. 3) Employ file system permissions and access controls to limit the ability of unprivileged users to read or modify sensitive files that could be exposed via path traversal. 4) Review and audit any custom code or third-party packages that utilize pkgutil.get_data() to ensure they do not pass untrusted or user-controlled input to the resource argument. 5) Consider implementing additional input validation or sanitization layers around resource path handling in Python applications. 6) Use containerization or sandboxing techniques to isolate Python runtime environments, reducing the impact of potential local exploits. 7) Conduct security training for developers and system administrators on the risks of path traversal and secure coding practices. These targeted actions go beyond generic advice by focusing on controlling local access, input validation, and environment isolation specific to this vulnerability.
Description
pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
References
- github.com/python/cpython/pull/146122 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/WYLLVQOOCKGK73JM7Z7ZSNOJC4N7BAWY/ (opens in a new tab)
- github.com/python/cpython/issues/146121 (opens in a new tab)
- github.com/python/cpython/commit/bcdf231946b1da8bdfbab4c05539bb0cc964a1c7 (opens in a new tab)