Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-19672: Vulnerability in Python Software Foundation CPython

0
Medium
VulnerabilityCVE-2026-19672cvecve-2026-19672
Published: 08/19/2026 (08/19/2026, 15:24:08 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

Description

CVE-2026-19672 is a medium severity vulnerability in the Python Software Foundation's CPython implementation affecting the tarfile module on POSIX platforms. The issue involves the creation of empty directories outside the intended extraction destination when extracting tar archives with member names that traverse directories (e.g., using ../ sequences). Although the actual file contents remain inside the destination, the directory creation bypasses containment checks. This behavior does not affect Windows due to path normalization. No official patch or remediation guidance is currently provided.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N

Affected software

GitHub Actionsmore threats →cve
CPython
pkg:github/CPython
Affected versions
<3.16.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 16:13:25 UTC

Technical Analysis

The tarfile module in CPython versions prior to 3.16.0 contains a directory traversal vulnerability on POSIX systems. When extracting tar archives, the containment check uses the resolved path to prevent directory traversal, but intermediate directories are created from the original member name without normalization. This allows empty directories to be created outside the intended extraction destination if the member name includes sequences like ../evil/../dest/sub/file. The actual file contents remain inside the destination directory. On Windows, path normalization prevents this issue. This vulnerability does not affect extraction into secure randomized directories that do not share the final component of the destination path.

Potential Impact

An attacker can cause the creation of empty directories outside the intended extraction directory on POSIX systems when extracting crafted tar archives. This may lead to confusion or potential misuse of filesystem structure but does not allow extraction of file contents outside the destination. There is no indication of direct code execution or data compromise from this vulnerability alone.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid extracting untrusted tar archives on POSIX systems using vulnerable CPython versions or use extraction into secure randomized directories that do not share the final component of the destination path.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PSF
Date Reserved
2026-08-12T21:17:15.148Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a85cdc8acd9273b49443576

Added to database: 08/19/2026, 15:37:44 UTC

Last enriched: 08/19/2026, 16:13:25 UTC

Last updated: 08/19/2026, 16:13:25 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses