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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-41140— Poetry: Path traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4

Quick assessment

Affected
python-poetry poetry
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.

Poetry是Poetry开源的一款Python中用于依赖管理和打包的工具。 Poetry 2.3.4之前版本存在路径遍历漏洞,该漏洞源于extractall函数在tarfile.data_filter不可用的Python版本上提取sdist tarball时缺乏路径遍历保护。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.47% · P39

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
python-poetry poetry < 2.3.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-41140

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
Poetry: Path traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4
Source: CVE Program / CVE List V5
Vulnerability Description
Poetry is a dependency manager for Python. Prior to 2.3.4, the extractall() function in src/poetry/utils/helpers.py:410-426 extracts sdist tarballs without path traversal protection on Python versions where tarfile.data_filter is unavailable. Considering only Python versions which are still supported by Poetry, these are 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4. This vulnerability is fixed in 2.3.4.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Poetry 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Poetry是Poetry开源的一款Python中用于依赖管理和打包的工具。 Poetry 2.3.4之前版本存在路径遍历漏洞,该漏洞源于extractall函数在tarfile.data_filter不可用的Python版本上提取sdist tarball时缺乏路径遍历保护。
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-poetry poetry < 2.3.4 -

II. Public POCs for CVE-2026-41140

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

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

Vendor Advisories for CVE-2026-41140 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-41140

No comments yet


Leave a comment