Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory
Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.
- BDU:2025-09992
- ALSA-2025:10026
- ALSA-2025:10031
- ALSA-2025:10128
- ALSA-2025:10136
- ALSA-2025:10140
- ALSA-2025:10148
- ALSA-2025:10189
- ALSA-2025:23530
- RHSA-2025:10026
- RHSA-2025:10028
- RHSA-2025:10031
- RHSA-2025:10128
- RHSA-2025:10136
- RHSA-2025:10140
- RHSA-2025:10148
- RHSA-2025:10189
- RHSA-2025:10399
- RHSA-2025:10484
- RHSA-2025:10602
- Published
- Jun 3, 2025
- Updated
- Jul 31, 2026
- EPSS
- 1.4% · 71th percentile
- CWE
- CWE-22
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · PSF
- 7.5
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (PSF). Independent of NVD's CPE analysis and usually ahead of it.
Python Software Foundation CPython
- before 3.9.23affected · python
- 3.10.0 and later · before 3.10.18affected · python
- 3.11.0 and later · before 3.11.13affected · python
- 3.12.0 and later · before 3.12.11affected · python
- 3.13.0 and later · before 3.13.4affected · python
- 3.14.0a1 and later · before 3.14.0b3affected · python
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | python-unversioned-command | before 3.12.9-2.el10_0.2 | 3.12.9-2.el10_0.2 |
| AlmaLinux:8 | platform-python | before 3.6.8-70.el8_10.alma.1 | 3.6.8-70.el8_10.alma.1 |
| AlmaLinux:8 | platform-python-debug | before 3.6.8-70.el8_10.alma.1 | 3.6.8-70.el8_10.alma.1 |
| AlmaLinux:8 | platform-python-devel | before 3.6.8-70.el8_10.alma.1 | 3.6.8-70.el8_10.alma.1 |
| AlmaLinux:8 | python3-idle | before 3.6.8-70.el8_10.alma.1 | 3.6.8-70.el8_10.alma.1 |
| AlmaLinux:8 | python3-libs | before 3.6.8-70.el8_10.alma.1 | 3.6.8-70.el8_10.alma.1 |
| AlmaLinux:8 | python3-test | before 3.6.8-70.el8_10.alma.1 | 3.6.8-70.el8_10.alma.1 |
| AlmaLinux:8 | python3-tkinter | before 3.6.8-70.el8_10.alma.1 | 3.6.8-70.el8_10.alma.1 |
| AlmaLinux:8 | python3.11 | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.11-debug | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.11-devel | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.11-idle | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.11-libs | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.11-rpm-macros | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.11-test | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.11-tkinter | before 3.11.13-1.el8_10 | 3.11.13-1.el8_10 |
| AlmaLinux:8 | python3.12 | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
| AlmaLinux:8 | python3.12-debug | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
| AlmaLinux:8 | python3.12-devel | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
| AlmaLinux:8 | python3.12-idle | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
| AlmaLinux:8 | python3.12-libs | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
| AlmaLinux:8 | python3.12-rpm-macros | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
| AlmaLinux:8 | python3.12-test | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
| AlmaLinux:8 | python3.12-tkinter | before 3.12.11-1.el8_10 | 3.12.11-1.el8_10 |
+96
Same product
python software foundation: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-4517Arbitrary writes via tarfile realpath overflow37Monitor
- CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts36Monitor
- CVE-2026-6100Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure36Monitor
- CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes35Monitor
- CVE-2024-12254Unbounded memory buffering in SelectorSocketTransport.writelines()35Monitor
- CVE-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Python Software Foundation CPython | 3.10.18 | Vendor (CNA) |
| Python Software Foundation CPython | 3.11.13 | Vendor (CNA) |
| Python Software Foundation CPython | 3.12.11 | Vendor (CNA) |
| Python Software Foundation CPython | 3.13.4 | Vendor (CNA) |
| Python Software Foundation CPython | 3.14.0b3 | Vendor (CNA) |
| Python Software Foundation CPython | 3.9.23 | Vendor (CNA) |
| almalinux:python3.11 | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.11-debug | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.11-devel | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.11-idle | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.11-libs | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.11-rpm-macros | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.11-test | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.11-tkinter | 3.11.13-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.12 | 3.12.11-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.12-debug | 3.12.11-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.12-devel | 3.12.11-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3.12-idle | 3.12.11-1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| alpine:python3 | 3.11.13-r0 · Alpine:v3.19 | Package registry (OSV) |
| alpine:python3-tkinter | 3.12.11-r0 · Alpine:v3.23 | Package registry (OSV) |
| debian:pypy3 | 7.3.20+dfsg-2 · Debian:14 | Package registry (OSV) |
| debian:python3.13 | 3.13.4-1 · Debian:13 | Package registry (OSV) |
| opensuse:python310 | 3.10.18-150400.4.82.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:python310-core | 3.10.18-150400.4.82.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:python310-documentation | 3.10.18-150400.4.82.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:python312 | 3.12.11-150600.3.30.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:python312-core | 3.12.11-150600.3.30.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:python312-documentation | 3.12.11-150600.3.30.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:python3.11 | 0:3.11.13-1.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:python3.11-debug | 0:3.11.13-1.el8_10 · Red Hat:enterprise_linux:8::crb | Package registry (OSV) |
+30
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×5
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:17 | 2026-02-15 |
| Proof-of-concept repository on GitHub | stars:4 | 2026-02-15 |
| Proof-of-concept repository on GitHub | stars:1 | 2026-02-16 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-02-16 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-02-22 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+257 d
- TodaySep 30, 2026+484 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Caleb Brown (Google)reporter
- Petr Viktorinremediation developer
- Serhiy Storchakaremediation developer
- Hugo van Kemenaderemediation reviewer
- Łukasz Langaremediation reviewer
- Thomas Woutersremediation reviewer
- Seth Larsoncoordinator
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-45170 days apartArbitrary writes via tarfile realpath overflow37Monitor
- CVE-2026-11940385 days aparttarfile extraction filter bypass allows escaping the destination directory31Monitor
- CVE-2025-43300 days apartExtraction filter bypass for linking outside extraction directory30Monitor
- CVE-2026-7774366 days aparttarfile.data_filter path traversal bypass allows writing outside the extraction directory27Monitor
- CVE-2026-19672442 days aparttarfile extraction filter bypass allows creation of directories outside the destination25Monitor
- CVE-2026-87910465 days aparttarfile hardlink fallback ignores custom extraction filter rejection via None22Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-secondary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- gist.github.com/sethmlarson/52398e33eff261329a0180ac1d54f42f
- github.com/python/cpython/commit/19de092debb3d7e832e5672cc2f7b788d35951da
- github.com/python/cpython/commit/28463dba112af719df1e8b0391c46787ad756dd9
- github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a
- github.com/python/cpython/commit/4633f3f497b1ff70e4a35b6fe2c907cbe2d4cb2e
- github.com/python/cpython/commit/9c1110ef6652687d7c55f590f909720eddde965a
- github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a
- github.com/python/cpython/commit/aa9eb5f757ceff461e6e996f12c89e5d9b583b01
- github.com/python/cpython/commit/dd8f187d0746da151e0025c51680979ac5b4cfb1
- github.com/python/cpython/issues/135034
- github.com/python/cpython/pull/135037
- mail.python.org/archives/list/security-announce@python.org/thread/MAXIJJCUUMCL7ATZNDVEGGHUMQMUUKLG/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.