Advisory

PYSEC-2026-2260

Also known as: CVE-2026-34591, GHSA-2599-h6xx-hpxp

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Dates

Published
2026-04-02 18:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

poetry

PyPI · All systems

Affected

  • introduced 1.4.0, fixed 2.3.3 (ecosystem)

Fixed versions

2.3.3

Fix

  • Fixed version 2.3.3
    pip install --upgrade poetry==2.3.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences