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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-87910— tarfile hardlink fallback ignores custom extraction filter rejection via None

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 CPython是Python基金会开源的一个用C语言实现的Python解释器。 Python CPython 3.16.0之前版本存在安全漏洞,该漏洞源于tarfile在不支持链接的系统上提取链接时回退为从归档中提取成员,过滤函数被调用两次且其中一次的返回值被忽略,可能导致路径遍历攻击。

CVSS 5.7 · Medium EPSS 0.50% · P41

Affected Version Matrix 5

VendorProduct Version RangeStatus
Python Software Foundation CPython < 3.10.22 affected
3.11.0< 3.11.17 affected
3.12.0< 3.12.15 affected
3.13.0< 3.13.16 affected
3.15.0a1< 3.15.0rc3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87910

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 hardlink fallback ignores custom extraction filter rejection via None
Source: CVE Program / CVE List V5
Vulnerability Description
When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/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 CPython 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Python CPython是Python基金会开源的一个用C语言实现的Python解释器。 Python CPython 3.16.0之前版本存在安全漏洞,该漏洞源于tarfile在不支持链接的系统上提取链接时回退为从归档中提取成员,过滤函数被调用两次且其中一次的返回值被忽略,可能导致路径遍历攻击。
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.22 -

II. Public POCs for CVE-2026-87910

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

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

Patches & Fixes for CVE-2026-87910 (9)

Mailing List Discussions for CVE-2026-87910 (1)

Other References for CVE-2026-87910 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-87910

No comments yet


Leave a comment