{"id":"UBUNTU-CVE-2022-26184","details":"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.","modified":"2026-05-20T16:07:54.537376647Z","published":"2022-03-21T22:15:00Z","upstream":["CVE-2022-26184"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-26184"},{"type":"REPORT","url":"https://github.com/python-poetry/poetry/releases/tag/1.1.9"},{"type":"REPORT","url":"https://github.com/python-poetry/poetry-core/pull/205/commits/fa9cb6f358ae840885c700f954317f34838caba7"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-26184"}],"affected":[{"package":{"name":"poetry","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/poetry?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.11+dfsg-3","1.1.12+dfsg-1","1.1.12+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-poetry","binary_version":"1.1.12+dfsg-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}},{"package":{"name":"poetry-core","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/poetry-core?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-3","1.0.7-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-poetry-core","binary_version":"1.0.7-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}},{"package":{"name":"poetry","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/poetry?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.1+dfsg-2","1.7.1+dfsg-1","1.8.2+dfsg-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.2+dfsg-1ubuntu2","binary_name":"python3-poetry"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}},{"package":{"name":"poetry-core","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/poetry-core?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.1-1","1.7.0-1","1.8.1-1build1","1.9.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.0-1","binary_name":"python3-poetry-core"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}},{"package":{"name":"poetry","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/poetry?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1+dfsg-3","2.1.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.2+dfsg-1","binary_name":"python3-poetry"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}},{"package":{"name":"poetry-core","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/poetry-core?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-3","2.1.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-poetry-core","binary_version":"2.1.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}},{"package":{"name":"poetry","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/poetry?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2+dfsg-1","2.3.2+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-poetry","binary_version":"2.3.2+dfsg-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}},{"package":{"name":"poetry-core","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/poetry-core?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-2","2.2.1-2","2.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.1-1","binary_name":"python3-poetry-core"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}