Arbitrary File Write in Poetry Dependency Manager for Python
CVE-2026-34591
7.1HIGH
What is CVE-2026-34591?
The Poetry dependency manager for Python, version 1.4.0 up to but not including 2.3.3, allows maliciously crafted wheel files to write arbitrary files on the system. This occurs due to inadequate containment checks when the unsafe paths are encountered during installation. Although the installation of a rogue wheel does not inherently execute harmful code, it could lead to potential security issues if the user later imports or executes the malicious package. This vulnerability has been remediated in version 2.3.3.
Affected Version(s)
poetry >= 1.4.0, < 2.3.3
