{"id":"UBUNTU-CVE-2026-41140","details":"Poetry is a dependency manager for Python. Prior to 2.3.4, the extractall() function in src/poetry/utils/helpers.py:410-426 extracts sdist tarballs without path traversal protection on Python versions where tarfile.data_filter is unavailable. Considering only Python versions which are still supported by Poetry, these are 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4. This vulnerability is fixed in 2.3.4.","modified":"2026-06-30T18:18:03.256850572Z","published":"2026-04-24T18:16:00Z","upstream":["CVE-2026-41140"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41140"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41140"},{"type":"REPORT","url":"https://github.com/python-poetry/poetry/security/advisories/GHSA-73h3-mf4w-8647"}],"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/2026/UBUNTU-CVE-2026-41140.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_name":"python3-poetry","binary_version":"1.8.2+dfsg-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41140.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/2026/UBUNTU-CVE-2026-41140.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/2026/UBUNTU-CVE-2026-41140.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}