Poetry prior to v1.1.9 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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-26184
- https://github.com/python-poetry/poetry-core/pull/205/commits/fa9cb6f358ae840885c700f954317f34838caba7
- https://github.com/python-poetry/poetry/releases/tag/1.1.9
- https://github.com/pypa/advisory-database/tree/main/vulns/poetry/PYSEC-2022-234.yaml
- https://github.com/advisories/GHSA-xr2c-5w89-63pv