Vulnerability · Published Mar 18, 2026 · Assigned by PSF

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

None 0.0

In plain English

A path traversal in CPython from Python Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities).

Severity (CVSS 4.0)0.0None
Exploit odds (30 days)0.3%top 83.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pypy3no fix listedDEBIAN-CVE-2026-3479
Debian:13pypy3no fix listedDEBIAN-CVE-2026-3479
Debian:14pypy3no fix listedDEBIAN-CVE-2026-3479
Debian:12python3.11no fix listedDEBIAN-CVE-2026-3479
Debian:13python3.13no fix listedDEBIAN-CVE-2026-3479
Debian:14python3.14no fix listedDEBIAN-CVE-2026-3479
Ubuntu:22.04:LTSpypy3no fix listedUBUNTU-CVE-2026-3479
Ubuntu:24.04:LTSpypy3no fix listedUBUNTU-CVE-2026-3479
Ubuntu:25.10pypy3no fix listedUBUNTU-CVE-2026-3479
Ubuntu:26.04:LTSpypy3no fix listedUBUNTU-CVE-2026-3479
Ubuntu:22.04:LTSpython3.10no fix listedUBUNTU-CVE-2026-3479
Ubuntu:24.04:LTSpython3.12no fix listedUBUNTU-CVE-2026-3479
Ubuntu:25.10python3.13no fix listedUBUNTU-CVE-2026-3479
Ubuntu:25.10python3.14no fix listedUBUNTU-CVE-2026-3479
Ubuntu:26.04:LTSpython3.14no fix listedUBUNTU-CVE-2026-3479

Affected products (as reported)

VendorProductVersions
Python Software Foundation CPython 0 – before 3.13.133.14.0 – before 3.14.43.15.0a1 – before 3.15.0a8

Weakness: CWE-22 · Vector: CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N

References