CVE-2026-34591
MEDIUM6.5EPSS 0.02%Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
發布日:2026/4/1修改日:2026/4/28
描述
Poetry is a dependency manager for Python. From version 1.4.0 to before version 2.3.3, a crafted wheel can contain ../ paths that Poetry writes to disk without containment checks, allowing arbitrary file write with the privileges of the Poetry process. It is reachable from untrusted package artifacts during normal install flows. (Normally, installing a malicious wheel is not sufficient for execution of malicious code. Malicious code will only be executed after installation if the malicious package is imported or invoked by the user.). This issue has been patched in version 2.3.3.
受影響套件(2)
- Debian/poetryfrom 0
- PyPI/poetry>= 1.4.0, < 2.3.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-34591
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-34591
- PATCHhttps://github.com/python-poetry/poetry
- WEBhttp://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a
- WEBhttps://github.com/python-poetry/poetry/pull/10792
- WEBhttps://github.com/python-poetry/poetry/releases/tag/2.3.3
- WEBhttps://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp