Skip to main content
VulnerabilityPublished Updated

CVE-2026-11940: Python Software Foundation CPython · Path Traversal

Affects Python Software Foundation CPythonSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.8 High · fixed in 3.15.0b4 : patch Python Software Foundation CPython soon.

Data as of 5 Nov 2026, 23:24 UTC

CVSS 4.0 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.15.0b4, 3.14.7, 3.13.15 +3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 6 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • >=3.15.0a1 <3.15.0b4
Fixed in
  • 3.15.0b4
Python Software FoundationCPythonAffected
  • >=3.14.0 <3.14.7
Fixed in
  • 3.14.7
Python Software FoundationCPythonAffected
  • >=3.13.0 <3.13.15
Fixed in
  • 3.13.15
Python Software FoundationCPythonAffected
  • >=3.12.0 <3.12.14
Fixed in
  • 3.12.14
Python Software FoundationCPythonAffected
  • >=3.11.0 <3.11.16
Fixed in
  • 3.11.16
Python Software FoundationCPythonAffected
  • <3.10.21
Fixed in
  • 3.10.21

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 using tarfile.extractall() or apply manual validation of archive contents to prevent directory traversal via symlinks and hardlinks.

Description

tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself. The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory. This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.

References

Community reviews

Loading reviews…