CVE-2026-11940
Last modified
CVE-2026-11940 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.75% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | 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 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-11940?
How severe is CVE-2026-11940?
How do I fix CVE-2026-11940?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-11932IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…7.5
- CVE-2026-11933A use-after-free vulnerability exists in MongoDB Server's se…8.8
- CVE-2026-11934IBM Verify Identity Access could allow an administrator to e…7.2
- CVE-2026-11937IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…3.1
- CVE-2026-11938Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-1194A security flaw has been discovered in MineAdmin 1.x/2.x. Th…7.5
- CVE-2026-11941Cloudflare Quiche was affected by 2 use-after-free vulnerabi…5.6
- CVE-2026-11942Akaunting 3.1.21 contains an authenticated stored cross-site…4.8
- CVE-2026-11943Akaunting 3.1.21 contains an authenticated stored cross-site…4.8
- CVE-2026-11944openSIS Classic 9.3 contains an authenticated path traversal…6.5
- CVE-2026-11945PostgreSQL Anonymizer contains a vulnerability that allows a…7.5
- CVE-2026-11946An unauthenticated remote attacker can exhaust server memory…7.5
Are you affected by CVE-2026-11940?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
