CVE-2026-7774: Python Software Foundation CPython · Path Traversal
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium · fixed in 3.15.0b2 : update Python Software Foundation CPython when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.15.0b2, 3.14.6, 3.13.14 +3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Jun 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 to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid extracting untrusted tar archives with tarfile.extractall() or use safer extraction methods that validate paths.
Description
tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.
References
- github.com/python/cpython/pull/149487 (opens in a new tab)
- github.com/python/cpython/issues/149486 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/ (opens in a new tab)
- github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2 (opens in a new tab)
- github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6d (opens in a new tab)
- github.com/python/cpython/commit/578411982c16f753f4893532510099ef665117da (opens in a new tab)
- github.com/python/cpython/commit/5cf47a248c35c375d610b87b2f72fd1ed454b558 (opens in a new tab)
- github.com/python/cpython/commit/74cca9a92fb7d653e404843a56b8bdc7b0afdbbf (opens in a new tab)
- github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efc (opens in a new tab)
- github.com/python/cpython/commit/c063191cb7f9170f9565e305f8aa2b79ab2bf609 (opens in a new tab)
- openwall.com/lists/oss-security/2026/06/04/9 (opens in a new tab)