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

Goal: 1000 CNY · Raised: 1325 CNY

100%

CVE-2026-7774— tarfile.data_filter path traversal bypass allows writing outside the extraction directory

AI Predicted 8.1 Difficulty: Easy EPSS 0.61% · P44

Affected Version Matrix 3

VendorProductVersion RangeStatus
Python Software FoundationCPython< 3.13.14affected
3.14.0< 3.14.6affected
3.15.0a1< 3.15.0b2affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-7774

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.data_filter path traversal bypass allows writing outside the extraction directory
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Python 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python存在安全漏洞,该漏洞源于tarfile.data_filter可通过特制链接条目绕过,包括空名称或目录类符号链接,导致tarfile.extractall将文件写入目标目录之外。
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

VendorProductAffected VersionsCPESubscribe
Python Software FoundationCPython 0 ~ 3.13.14 -

II. Public POCs for CVE-2026-7774

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-7774

登录查看更多情报信息。

Patches & Fixes for CVE-2026-7774 (6)

Vendor Advisories for CVE-2026-7774 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-7774

No comments yet


Leave a comment