CVE catalog

CVE-2026-41140

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

[CVE catalog]

Severity
High · CVSS 8.7CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpoetrysid2.3.4-3fixed
Debianpoetryforky2.3.4-3fixed
Debianpoetrytrixie2.1.2+dfsg-1+deb13u1fixed
Debianpoetrybookworm1.3.2+dfsg-3vulnerable
CpepoetryNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpoetrysourcesid2.1.2+dfsg-1not yet assignedNot reportedNot reported
Debianpoetrysourceforky2.1.2+dfsg-1not yet assignedNot reportedNot reported
Debianpoetrysourcetrixie2.1.2+dfsg-1not yet assignedNot reportedNot reported
Debianpoetrysourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[bookworm] poetry: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-poetry]Affected

    Source package: [poetry]

    Details (2)
    • 1.3.2+dfsg-3 · all · bookworm

      Affected

      nvd · poetry · debian · bookworm; nvd · poetry · debian · 12

    • 1.3.2+dfsg-3 · all · bookworm

      Affected

      nvd · poetry · debian · bookworm; nvd · poetry · debian · 12

[Debian 13 (Trixie)]

  • Source package: [poetry]

    Details (2)
    • 2.1.2+dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.1.2+dfsg-1

      nvd · poetry · debian · 13

    • 2.1.2+dfsg-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.1.2+dfsg-1

      nvd · poetry · debian · 13

Observed:

References