Skip to main content
CVE-2026-11940VulnerabilityPublished Updated

Python2.7: tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a

Affects python2.7Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-11940· High 7.8

Not known to be exploited · CVSS 7.8 High.

Data as of 24 Nov 2026, 21:15 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.
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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pypy3pkg:deb/ubuntu/pypy3?arch=source&distro=stonkingOther threatsAffected
  • =7.3.20+dfsg-4
  • =7.3.23+dfsg-1ubuntu1
Fixed in–
Ubuntu 26.10python3.14pkg:deb/ubuntu/python3.14?arch=source&distro=stonkingOther threatsAffected
  • 3.14.4-1 – 3.14.8-1ubuntu1
7 affected builds
Fixed in–
Ubuntu 26.04 LTSpypy3pkg:deb/ubuntu/pypy3?arch=source&distro=resoluteOther threatsAffected
  • =7.3.20+dfsg-3
  • =7.3.20+dfsg-4
Fixed in–
Ubuntu 26.04 LTSpython3.14pkg:deb/ubuntu/python3.14?arch=source&distro=resoluteOther threatsAffected
  • 3.14.0-1 – 3.14.4-1ubuntu0.2
11 affected builds
Fixed in–
Ubuntu 25.10pypy3pkg:deb/ubuntu/pypy3?arch=source&distro=questingOther threatsAffected
  • 7.3.19+dfsg-1 – 7.3.20+dfsg-3
4 affected builds
Fixed in–
Ubuntu 25.10python3.13pkg:deb/ubuntu/python3.13?arch=source&distro=questingOther threatsAffected
  • 3.13.3-1 – 3.13.7-1ubuntu0.4
12 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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…