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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-4360— Tarfile.extract() doesn't fully respect filter parameter

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 Software Foundation CPython是Python Software Foundation基金会的编程语言解释器。 Python Software Foundation CPython 3.15.0之前版本存在权限许可和访问控制问题漏洞,该漏洞源于Tarfile.extract()函数在处理硬链接时未正确传递filter参数,可能导致用户即使指定filter='data',从不可信tar文件中提取内容时仍然写入具有意外uid/gid的文件。

CVSS 2.0 · Low EPSS 0.48% · P39

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 6

VendorProduct Version RangeStatus
Python Software Foundation CPython < 3.10.21 affected
3.11.0< 3.11.16 affected
3.12.0< 3.12.14 affected
3.13.0< 3.13.15 affected
3.14.0< 3.14.7 affected
3.15.0a1< 3.15.0b4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-4360

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.extract() doesn't fully respect filter parameter
Source: CVE Program / CVE List V5
Vulnerability Description
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
权限预留不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Python Software Foundation CPython 权限许可和访问控制问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Python Software Foundation CPython是Python Software Foundation基金会的编程语言解释器。 Python Software Foundation CPython 3.15.0之前版本存在权限许可和访问控制问题漏洞,该漏洞源于Tarfile.extract()函数在处理硬链接时未正确传递filter参数,可能导致用户即使指定filter='data',从不可信tar文件中提取内容时仍然写入具有意外uid/gid的文件。
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.10.21 -

II. Public POCs for CVE-2026-4360

# 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-4360

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

Patches & Fixes for CVE-2026-4360 (7)

Vendor Advisories for CVE-2026-4360 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-4360

No comments yet


Leave a comment