What’s Vulnerable › Vulnerabilities

CVE-2026-3479: pkgutil.get_data() does not enforce documented restrictions

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Python 3.13.13, 3.14.4, 3.15.0a8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-3479 or the next vulnerability affects your stack