CVE-2026-41140

Poetry < 2.3.4 - Path Traversal via Tarball Extraction

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

EPSS 0.0033
EPSS Percentile 24.8%

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
pypi/poetry 0 - 2.3.4PyPI
Published Apr 24, 2026
Tracked Since Apr 24, 2026