ADVISORIES

Azure Linux Advisory

AZL-84035

CVE-2026-41140 affecting package poetry for versions less than 1.8.5-2

Details

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 packages

EcosystemPackageAffected versions
Azure Linux:3poetry
All versions before 1.8.5-2 (fixed in 1.8.5-2)

References