CVE Tools

CVE-2026-41140

Poetry: Path traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4

Published: Apr 24, 2026Updated: Apr 27, 2026 Sources: CVE List NVD BDUCWE-22
5.3CVSSMEDIUM

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.

CVSS Vector Breakdown

AV:NAC:LC:NI:LA:N
Exploitability
AV:NAccess Vector
Network
AC:LAccess Complexity
Low
Impact
C:NConfidentiality
None
I:LIntegrity
L
A:NAvailability
None

Weaknesses

Affected Products

python-poetryoss-projectDevTools & CIaka poetry, cleo
canonical ltd.commercialGBOperating Systemsaka canonical
python software foundationoss-projectUSOSS Librariesaka python software foundation, psf
сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
and 1 more affected products View all →

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available

MITRE ATT&CK

2 techniques
Collection
Discovery
View detailed technique mapping

References

and 5 more references View all →

Timeline

Published
Apr 24, 2026
Last Updated
Apr 27, 2026

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-41140 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows