Live threats

All CVEs / Python-poetry

CVE-2026-34591Python-poetry Poetry

High 7.1 No auth needed

Priority
58
CVSS 4.0
7.1
EPSS
—
Auth required
No
Published
Apr 2, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Poetry is a dependency manager for Python. From version 1.4.0 to before version 2.3.3, a crafted wheel can contain ../ paths that Poetry writes to disk without containment checks, allowing arbitrary file write with the privileges of the Poetry process. It is reachable from untrusted package artifacts during normal install flows. (Normally, installing a malicious wheel is not sufficient for execution of malicious code. Malicious code will only be executed after installation if the malicious package is imported or invoked by the user.). This issue has been patched in version 2.3.3.

Original NVD text.

What to do

  1. Apply the vendor's security update for Poetry.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI poetry ≥ 1.4.0 < 2.3.3 2.3.3 pip install "poetry>=2.3.3"
PyPI poetry ≥ 1.4.0 < 2.3.3 2.3.3 pip install "poetry>=2.3.3"

Per OSV / GitHub Advisories (GHSA-2599-h6xx-hpxp, PYSEC-2026-2260). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
python-poetrypoetry≥ 1.4.0 < 2.3.3

Official sources

References

Links published by the sources. Open them with care.