CVE-2026-41140python-poetry poetry
Low 0.6 No auth needed
Follow: this CVE · python-poetry · python-poetry poetry We alert you by email or Slack (account required).
- Priority
- 19
- CVSS 4.0
- 0.6
- EPSS
- —
- Auth required
- No
- Published
- Apr 24, 2026
- Updated
- Nov 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for poetry.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | poetry |
< 2.3.4 |
2.3.4 |
pip install "poetry>=2.3.4" |
| PyPI | poetry |
< 2.3.4 |
2.3.4 |
pip install "poetry>=2.3.4" |
Per OSV / GitHub Advisories (GHSA-73h3-mf4w-8647, PYSEC-2026-2890). Check the version in your lockfile before upgrading.
Affected products
- python-poetry · poetry
- Red Hat · Red Hat Ansible Automation Platform 2.6
- Red Hat · Red Hat Ansible Automation Platform 2
- Red Hat · Red Hat OpenShift AI (RHOAI)
- Red Hat · Red Hat OpenShift Container Platform 4
- Red Hat · Red Hat Satellite 6
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.