7.8

CVE-2026-11940: tarfile extraction filter bypass allows escaping the destination directory

Awaiting analysis
AliasesALPINE-CVE-2026-11940RHSA-2026:54268RHSA-2026:56219
Published 23-06-2026Last modified 13-08-2026

Vulnerability summary

CVE-2026-11940 is a high (CVSS 7.8) vulnerability in python software foundation cpython. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 55% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v4.0 (CVE.org)
EPSS score
0.75%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 33 · Related 26

Timeline

  1. 23-06-2026
    PublishedVulnerability first disclosed.
  2. 13-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 2 versions

EPSS trend

Probability

0.75%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.75% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat42 products
  • platform-python< 0:3.6.8-78.el8_10 | < 0:3.6.8-51.el8_8.17 | < 0:3.6.8-47.el8_6.15
  • platform-python-debug< 0:3.6.8-78.el8_10 | < 0:3.6.8-51.el8_8.17 | < 0:3.6.8-47.el8_6.15
  • platform-python-devel< 0:3.6.8-78.el8_10 | < 0:3.6.8-51.el8_8.17 | < 0:3.6.8-47.el8_6.15
  • python-unversioned-command< 0:3.9.25-7.el9_8.3 | < 0:3.12.14-1.el10_2 | < 0:3.12.9-2.el10_0.11
  • python3< 0:3.9.25-7.el9_8.3 | < 0:3.6.8-78.el8_10 | < 0:3.12.14-1.el10_2 | < 0:3.12.9-2.el10_0.11 | < 0:3.6.8-51.el8_8.17 | < 0:3.6.8-47.el8_6.15
Ubuntu13 products
  • pypy3All versions (No fix recorded)
  • python2.7All versions (No fix recorded)
  • python3.10All versions (No fix recorded)
  • python3.11All versions (No fix recorded)
  • python3.12All versions (No fix recorded)
Chainguard5 products
  • python-3.10< 3.10.20-r10
  • python-3.11< 3.11.15-r8
  • python-3.12< 3.12.13-r10
  • python-3.13< 3.13.14-r2
  • python-3.14< 3.14.6-r3
Wolfi5 products
  • python-3.10< 3.10.20-r10
  • python-3.11< 3.11.15-r8
  • python-3.12< 3.12.13-r10
  • python-3.13< 3.13.14-r2
  • python-3.14< 3.14.6-r3
Debian4 products
  • pypy3All versions (No fix recorded) | < 8.0.0+dfsg-1
  • python3.11All versions (No fix recorded)
  • python3.13< 3.13.15-1 | < 3.13.5-2+deb13u5
  • python3.14< 3.14.7-1
Opensuse2 products
  • python314&distro=openSUSE Tumbleweed< 3.14.6-2.1
  • python315&distro=openSUSE Tumbleweed< 3.15.0~b3-2.1
Alpine1 product
  • python3< 3.12.14-r0 | < 3.14.7-r0
Python software foundation1 product
  • cpython< 3.10.21 | ≥ 3.11.0, < 3.11.16 | ≥ 3.12.0, < 3.12.14 | ≥ 3.13.0, < 3.13.15 | ≥ 3.14.0, < 3.14.7 | ≥ 3.15.0a1, < 3.15.0b4

8 vendors · 73 products

References

45 links
Show all 45 references