Skip to main content
← All vulnerabilities
CVE-2026-41140PYSEC-2026-2890GHSA-73H3-MF4W-8647

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • python-poetry poetry

    fixed in 2.3.4

  • poetryPyPI

    fixed in 2.3.4

References 1

GitHub · python-poetry/poetry