PyPI: poetry

CVE-2022-26184

Safety vulnerability ID: SFTY-20220321-40029

Safety legacy ID: pyup.io-47025

Poetry 1.1.10 includes a fix for CVE-2022-26184: 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. https://github.com/python-poetry/poetry-core/pull/205/commits/fa9cb6f358ae840885c700f954317f34838caba7

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Poetry before v1.1.9 contains Untrusted Search Path

Advisory

Poetry 1.1.10 includes a fix for CVE-2022-26184: 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. https://github.com/python-poetry/poetry-core/pull/205/commits/fa9cb6f358ae840885c700f954317f34838caba7

Affected Package

Affecting poetry package, versions<=1.1.9

Also affects

---

How to Fix

Upgradepoetryto1.1.10or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more