Live threats

All CVEs / Python-poetry

CVE-2022-26184Python-poetry Poetry

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Mar 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-426
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Poetry v1.1.9 and below was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute Poetry commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.

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.1.9 1.1.9 pip install "poetry>=1.1.9"
PyPI poetry < 1.1.9 1.1.9 pip install "poetry>=1.1.9"

Per OSV / GitHub Advisories (GHSA-xr2c-5w89-63pv, PYSEC-2022-234). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
python-poetrypoetry≤ 1.1.9

Official sources

References

Links published by the sources. Open them with care.