Poetry: Path traversal in tar extraction on Python 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4
CVE-2026-41140 is fixed in poetry on 1 platform, first by DEBIAN-CVE-2026-41140, released May 15, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| poetry · Debian 13.5 (trixie) | 2.1.2+dfsg-1 | DEBIAN-CVE-2026-41140 | May 15, 2026 |
| poetry · Debian 14 | 2.1.2+dfsg-1 | DEBIAN-CVE-2026-41140 | May 15, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.