CVE 0.6 LOW

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

0.6 / 10
LOW
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

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.

Basic Information

ID CVE-2026-41140
Source GitHub_M
Published Apr 24, 2026 at 17:10
Modified Apr 24, 2026 at 18:03

Affected Product

Vendor python-poetry
Product poetry
Version < 2.3.4
Affected Versions python-poetry poetry < 2.3.4

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.