PyPI: poetry-core

CVE-2022-36070

Safety vulnerability ID: SFTY-20220907-68699

Safety legacy ID: pyup.io-71597

Poetry-core affected versions have been 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 running on Windows OS. # This only affects Windows users

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

Overview

Poetry vulnerable to Untrusted Search Path leading to Local Code Execution on Windows

Advisory

Poetry-core affected versions have been 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 running on Windows OS. # This only affects Windows users

Affected Package

Affecting poetry-core package, versions<1.1.9

Also affects

---

How to Fix

Upgradepoetry-coreto1.2.0or 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