CVE-2026-3479
CVE-2026-3479 · pkgutil.get_data() does not enforce documented restrictions
This page contains facts from public vulnerability sources. Check the original advisory before updating.
DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.get_data() has the same security model as open(). The documentation has been updated to clarify this point. There is no vulnerability in the function if following the intended security model. pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
CVSS 0.0 · Low · EPSS 0.2% · Fix available
- Published
- Updated
Affected products and versions
python
- Versions
- ≥ 0, < 3.13.13: Affected (python)
- ≥ 3.14.0, < 3.14.4: Affected (python)
- ≥ 3.15.0a1, < 3.15.0a8: Affected (python)
Update to 3.13.13; Update to 3.14.4; Update to 3.15.0a8
pypy3 Debian:12
- Versions
- 7.3.11+dfsg-2
- 7.3.11+dfsg-2+deb12u1
- 7.3.11+dfsg-2+deb12u2
- 7.3.11+dfsg-2+deb12u3
- 7.3.12+dfsg-1
- 7.3.12~rc1+dfsg-1
- 7.3.12~rc2+dfsg-1
- 7.3.13+dfsg-1
- 7.3.14+dfsg-1
- 7.3.15+dfsg-1
- 7.3.16+dfsg-1
- 7.3.16+dfsg-2
- 7.3.17+dfsg-1
- 7.3.17+dfsg-2
- 7.3.17+dfsg-3
- 7.3.18+dfsg-1
- 7.3.18+dfsg-2
- 7.3.19+dfsg-1
- 7.3.19+dfsg-2
- 7.3.20+dfsg-1
- 7.3.20+dfsg-2
- 7.3.20+dfsg-3
- 7.3.20+dfsg-4
- 7.3.21+dfsg-1
- 7.3.21+dfsg-2
- 7.3.21+dfsg-3
- 7.3.21+dfsg-4
- 7.3.22+dfsg-1
- 7.3.23+dfsg-1
- 7.3.23+dfsg-2
- 8.0.0+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pypy3 Debian:13
- Versions
- 7.3.19+dfsg-2
- 7.3.20+dfsg-1
- 7.3.20+dfsg-2
- 7.3.20+dfsg-3
- 7.3.20+dfsg-4
- 7.3.21+dfsg-1
- 7.3.21+dfsg-2
- 7.3.21+dfsg-3
- 7.3.21+dfsg-4
- 7.3.22+dfsg-1
- 7.3.23+dfsg-1
- 7.3.23+dfsg-2
- 8.0.0+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pypy3 Debian:14
- Versions
- 7.3.19+dfsg-2
- 7.3.20+dfsg-1
- 7.3.20+dfsg-2
- 7.3.20+dfsg-3
- 7.3.20+dfsg-4
- 7.3.21+dfsg-1
- 7.3.21+dfsg-2
- 7.3.21+dfsg-3
- 7.3.21+dfsg-4
- 7.3.22+dfsg-1
- 7.3.23+dfsg-1
- 7.3.23+dfsg-2
- 8.0.0+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python3.11 Debian:12
- Versions
- 3.11.2-6
- 3.11.2-6+deb12u1
- 3.11.2-6+deb12u2
- 3.11.2-6+deb12u3
- 3.11.2-6+deb12u4
- 3.11.2-6+deb12u5
- 3.11.2-6+deb12u6
- 3.11.2-6+deb12u7
- 3.11.2-6+deb12u8
- 3.11.3-1
- 3.11.3-2
- 3.11.4-1
- 3.11.5-1
- 3.11.5-2
- 3.11.5-3
- 3.11.6-1
- 3.11.6-2
- 3.11.6-3
- 3.11.6-3~hurd.2
- 3.11.7-1
- 3.11.7-2
- 3.11.8-1
- 3.11.8-1.1~exp1
- 3.11.8-1.1~exp2
- 3.11.8-2
- 3.11.8-3
- 3.11.8-3+hurd.1
- 3.11.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python3.13 Debian:13
- Versions
- 3.13.11-1
- 3.13.12-1
- 3.13.14-1
- 3.13.15-1
- 3.13.5-2
- 3.13.5-2+deb13u1
- 3.13.5-2+deb13u2
- 3.13.5-2+deb13u3
- 3.13.5-2+deb13u4
- 3.13.5-2+deb13u5
- 3.13.6-1
- 3.13.7-1
- 3.13.8-1
- 3.13.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python3.13 Debian:14
- Versions
- 3.13.11-1
- 3.13.12-1
- 3.13.14-1
- 3.13.15-1
- 3.13.5-2
- 3.13.6-1
- 3.13.7-1
- 3.13.8-1
- 3.13.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python3.14 Debian:14
- Versions
- 3.14.0-1
- 3.14.0-2
- 3.14.0-3
- 3.14.0-4
- 3.14.0-5
- 3.14.0~a7-1
- 3.14.0~b1-1
- 3.14.0~b2-1
- 3.14.0~b3-1
- 3.14.0~b4-1
- 3.14.0~rc1-1
- 3.14.0~rc2-1
- 3.14.0~rc3-1
- 3.14.2-1
- 3.14.3-1
- 3.14.3-2
- 3.14.3-3
- 3.14.3-4
- 3.14.3-5
- 3.14.4-1
- 3.14.4-2
- 3.14.5-1
- 3.14.5~rc1-1
- 3.14.6-1
- 3.14.7-1
- 3.14.7-2
- 3.14.7-3
- 3.14.7-4
- 3.14.7-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/python/cpython/pull/146122
- https://mail.python.org/archives/list/[email protected]/thread/WYLLVQOOCKGK73JM7Z7ZSNOJC4N7BAWY/
- https://github.com/python/cpython/issues/146121
- https://github.com/python/cpython/commit/bcdf231946b1da8bdfbab4c05539bb0cc964a1c7
- https://github.com/python/cpython/commit/5af6ce3e7b643a30a02d22245c1e3f4a8bc0a1fe
- https://github.com/python/cpython/commit/cf59bf76470f3d75ad47d80ffb8ce76b64b5e943
- https://github.com/python/cpython/commit/d786d59a8f7196bb630100a869f28ad13436b59c
- https://nvd.nist.gov/vuln/detail/CVE-2026-3479