Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-19672— tarfile extraction filter bypass allows creation of directories outside the destination

Quick assessment

Affected
Python Software Foundation CPython
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Python是Python基金会开源的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python 3.16.0之前版本存在安全漏洞,该漏洞源于tarfile模块的tar和数据提取过滤器对成员名称的包含检查使用了解析路径,但中间目录按原始名称创建,可能导致在目标目录外创建空目录。

CVSS 6.3 · Medium EPSS 0.47% · P40

Possible ATT&CK Techniques 1 AI

T1135 · Network Share Discovery

Affected Version Matrix 1

VendorProduct Version RangeStatus
Python Software Foundation CPython < 3.16.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-19672

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
tarfile extraction filter bypass allows creation of directories outside the destination
Source: CVE Program / CVE List V5
Vulnerability Description
The tarfile module's tar and data extraction filters created directories outside the destination for members whose name leaves the destination and returns to it, such as ../evil/../dest/sub/file. The containment check used the resolved path, but intermediate directories were created from the name as given. Only empty directories are created outside the destination. Member contents are still extracted inside it. To return to the destination the member's name must contain the destination directory's own final component, so extraction into a secure randomised directory is not affected. This affects POSIX platforms only. On Windows, .. components are collapsed before the path reaches the filesystem, so the directories outside the destination are never created.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Python 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Python是Python基金会开源的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python 3.16.0之前版本存在安全漏洞,该漏洞源于tarfile模块的tar和数据提取过滤器对成员名称的包含检查使用了解析路径,但中间目录按原始名称创建,可能导致在目标目录外创建空目录。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Python Software Foundation CPython 0 ~ 3.16.0 -

II. Public POCs for CVE-2026-19672

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-19672

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-19672 (1)

Vendor Advisories for CVE-2026-19672 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-19672

No comments yet


Leave a comment