pkgutil.get_data() does not enforce documented restrictions
pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-3479US | — | — | ||
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 c… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/python/cpython/commit/bcdf231946b1da8bdfbab4c05539bb0cc964a1c7WEB
- https://github.com/python/cpython/issues/146121WEB
- https://github.com/python/cpython/pull/146122WEB
- https://mail.python.org/archives/list/security-announce@python.org/thread/WYLLVQOOCKGK73JM7Z7ZSNOJC4N7BAWY/WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-3479WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan