Skip to content
OpenAdvisories
Low · 0.6 CVE-2026-41140 EUVD-2026-25578GHSA-73h3-mf4w-8647PYSEC-2026-2890

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

Published Apr 24, 2026 · Updated Jul 15, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
python-poetry poetry < 2.3.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 poetry 2.1.2+dfsg-1 —
Debian 13 poetry 2.1.2+dfsg-1 —
Debian 12 poetry No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 poetry No fix yet —
Ubuntu 26.04 LTS poetry No fix yet —
Ubuntu 25.10 poetry No fix yet —
Ubuntu 24.04 LTS poetry No fix yet —
Ubuntu 22.04 LTS poetry No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 poetry 1.8.5-2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI poetry < 2.3.4 2.3.4 GHSA-73h3-mf4w-8647

References