CVE-2022-26184Python-poetry Poetry
Critical 9.8 No auth needed
Follow: this CVE · Python-poetry · Python-poetry Poetry We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Poetry.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| python-poetry | poetry | ≤ 1.1.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- www.sonarsource.com