Skip to main content
VulnerabilityPublished Updated

CVE-2026-41140: poetry · Path Traversal

Affects poetrySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 0.6 Low : upgrade to 2.3.4 when convenient.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 4.0 base score
0.6Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.3.4
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade poetry to 2.3.4.

Affected software

ProductAffectedFixed in
python-poetrypoetryAffected
  • <2.3.4
Fixed in
  • 2.3.4
PyPIpoetrypkg:pypi/poetryOther threatsAffected
  • <2.3.4
Fixed in
  • 2.3.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in poetry version 2.3.4. Users should upgrade to version 2.3.4 or later to remediate this vulnerability. Red Hat provides advisories and updates addressing this issue for their affected products. Patch status is confirmed by vendor advisories. No additional mitigation steps are specified or required beyond applying the official fix.

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.

References

Community reviews

Loading reviews…