CVE-2026-34591

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability42. percentile0.5%
ProductPoetry
PublishedApr 2, 2026
First seenApr 2, 2026

How to fix

Update
  • python-poetry poetry2.3.3 or later
  • poetry2.3.3 or later

Affected products

ProductAffected versionsFixed in
python-poetry poetry1.4.0 ≤ v < 2.3.32.3.3
poetryPyPI1.4.0 ≤ v < 2.3.32.3.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.