Skip to content
Noroxi
CVE-2026-7774· NVD / CVE Program· CNA PSF

tarfile.data_filter path traversal bypass allows writing outside the extraction directory

tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.

MediumCVSS 6.9 · v4.0—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; 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 help
Published
Jun 4, 2026
Updated
Aug 13, 2026
EPSS
0.8% · 54th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
27 / 40 · 6.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.8%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · PSF
6.9
NVD has not scored this yet; the score shown is the CNA’s.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

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.10.21affected · python
    • 3.11.0 and later · before 3.11.16affected · python
    • 3.12.0 and later · before 3.12.14affected · python
    • 3.13.0 and later · before 3.13.14affected · python
    • 3.14.0 and later · before 3.14.6affected · python
    • 3.15.0a1 and later · before 3.15.0b2affected · python

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.24python3before 3.14.7-r03.14.7-r0
Debian:13pypy3all versions—
Debian:13python3.13before 3.13.5-2+deb13u33.13.5-2+deb13u3
Debian:14pypy3before 8.0.0+dfsg-18.0.0+dfsg-1
Debian:14python3.13before 3.13.14-13.13.14-1
Debian:14python3.14before 3.14.6-13.14.6-1
openSUSE:Tumbleweedpython310before 3.10.20-8.13.10.20-8.1
openSUSE:Tumbleweedpython311before 3.11.15-8.13.11.15-8.1
openSUSE:Tumbleweedpython312before 3.12.13-8.13.12.13-8.1
openSUSE:Tumbleweedpython313before 3.13.14-2.13.13.14-2.1
openSUSE:Tumbleweedpython314before 3.14.6-1.13.14.6-1.1
openSUSE:Tumbleweedpython315before 3.15.0~b2-1.13.15.0~b2-1.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSpython310before 3.10.20-150400.4.115.13.10.20-150400.4.115.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSpython310before 3.10.20-150400.4.118.13.10.20-150400.4.118.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSpython310-corebefore 3.10.20-150400.4.118.13.10.20-150400.4.118.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSpython310-corebefore 3.10.20-150400.4.115.23.10.20-150400.4.115.2
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSpython311-documentationbefore 3.11.15-150400.9.94.13.11.15-150400.9.94.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7python311-corebefore 3.11.15-150600.3.62.23.11.15-150600.3.62.2
SUSE:Linux Enterprise Module for Public Cloud 15 SP4python311before 3.11.15-150400.9.94.13.11.15-150400.9.94.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4python311-corebefore 3.11.15-150400.9.94.23.11.15-150400.9.94.2
SUSE:Linux Enterprise Module for Python 3 15 SP7python311before 3.11.15-150600.3.62.23.11.15-150600.3.62.2
SUSE:Linux Enterprise Module for Python 3 15 SP7python313before 3.13.14-150700.4.53.13.13.14-150700.4.53.1
SUSE:Linux Enterprise Module for Python 3 15 SP7python313-corebefore 3.13.14-150700.4.53.13.13.14-150700.4.53.1
SUSE:Linux Enterprise Server 12 SP5-LTSSpython3before 3.4.10-25.191.23.4.10-25.191.2

+11

Other highest-scoring records for the same primary product.

  • CVE-2025-4517Arbitrary writes via tarfile realpath overflow
    37Monitor
  • CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts
    36Monitor
  • CVE-2026-6100Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure
    36Monitor
  • CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
    35Monitor
  • CVE-2024-12254Unbounded memory buffering in SelectorSocketTransport.writelines()
    35Monitor
  • CVE-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path
    34Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Python Software Foundation CPython3.10.21Vendor (CNA)
Python Software Foundation CPython3.11.16Vendor (CNA)
Python Software Foundation CPython3.12.14Vendor (CNA)
Python Software Foundation CPython3.13.14Vendor (CNA)
Python Software Foundation CPython3.14.6Vendor (CNA)
Python Software Foundation CPython3.15.0b2Vendor (CNA)
alpine:python33.14.7-r0 · Alpine:v3.24Package registry (OSV)
debian:pypy38.0.0+dfsg-1 · Debian:14Package registry (OSV)
debian:python3.133.13.5-2+deb13u3 · Debian:13Package registry (OSV)
debian:python3.143.14.6-1 · Debian:14Package registry (OSV)
opensuse:python3103.10.20-8.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3113.11.15-8.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3123.12.13-8.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3133.13.14-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3143.14.6-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3153.15.0~b2-1.1 · openSUSE:TumbleweedPackage registry (OSV)
suse:python33.4.10-25.191.2 · SUSE:Linux Enterprise Server 12 SP5-LTSSPackage registry (OSV)
suse:python3-base3.4.10-25.191.2 · SUSE:Linux Enterprise Server 12 SP5-LTSSPackage registry (OSV)
suse:python3103.10.20-150400.4.115.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:python310-core3.10.20-150400.4.115.2 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:python3113.11.15-slfo.1.1_5.1 · SUSE:Linux Micro 6.1Package registry (OSV)
suse:python311-core3.11.15-slfo.1.1_5.1 · SUSE:Linux Micro 6.1Package registry (OSV)
suse:python311-documentation3.11.15-150400.9.94.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:python3123.12.13-150600.3.62.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSPackage registry (OSV)
suse:python312-core3.12.13-150600.3.62.3 · SUSE:Linux Enterprise Server 15 SP6-LTSSPackage registry (OSV)
suse:python3133.13.14-150700.4.53.1 · SUSE:Linux Enterprise Module for Python 3 15 SP7Package registry (OSV)
suse:python313-core3.13.14-150700.4.53.1 · SUSE:Linux Enterprise Module for Python 3 15 SP7Package registry (OSV)
suse:python363.6.15-116.1 · SUSE:Linux Enterprise Server 12 SP5-LTSSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

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.

No dated events beyond publication.

EPSS, last 120 days

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.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-4517366 days apartArbitrary writes via tarfile realpath overflow
    37Monitor
  • CVE-2026-1194019 days aparttarfile extraction filter bypass allows escaping the destination directory
    31Monitor
  • CVE-2025-4138366 days apartBypassing extraction filter to create symlinks to arbitrary targets outside extraction directory
    30Monitor
  • CVE-2025-4330366 days apartExtraction filter bypass for linking outside extraction directory
    30Monitor
  • CVE-2026-1967276 days aparttarfile extraction filter bypass allows creation of directories outside the destination
    25Monitor
  • CVE-2026-8791099 days aparttarfile hardlink fallback ignores custom extraction filter rejection via None
    22Monitor

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 special conditions are required; it is repeatable.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
A
Scope
X

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records