VDB
Sign up
MEDIUM6.5

PYSEC-2026-2260

Quick fix

PYSEC-2026-2260 — poetry: upgrade to the fixed version with the command below.

pip install --upgrade 'poetry>=2.3.3'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/poetry
Introduced in: 1.4.0Fixed in: 2.3.3
Fixpip install --upgrade 'poetry>=2.3.3'

References