CVE-2026-3479 pkgutil.get_data() does not enforce documented restrictions
Attackers could potentially read arbitrary files via path traversal in pkgutil.get_data(), though the vendor disputes this as a vulnerability.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-3479?
CVE-2026-3479 is a path traversal vulnerability in CPython, published on 18 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-3479?
Linux distribution packages (8)
python SUSE:Linux Enterprise Module for Package Hub 15 SP7 | All versions | 2.7.18-150000.114.1 |
python-base SUSE:Linux Enterprise Module for Package Hub 15 SP7 | All versions | 2.7.18-150000.114.1 |
python-moto openSUSE:Tumbleweed | All versions | 5.2.1-1.1 |
python310 openSUSE:Tumbleweed | All versions | 3.10.20-4.1 |
python311 openSUSE:Tumbleweed | All versions | 3.11.15-5.1 |
python312 openSUSE:Tumbleweed | All versions | 3.12.13-5.1 |
python313 openSUSE:Tumbleweed | All versions | 3.13.13-1.1 |
python314 openSUSE:Tumbleweed | All versions | 3.14.4-1.1 |
How do I fix CVE-2026-3479?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-3479 being exploited?
There is no known exploitation of CVE-2026-3479 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-3479, ECHO-c84e-dea4-ec4c, GHSA-43rw-359f-4h89, MINI-7q7x-rxp3-2ppf, MINI-8cv8-pf76-4gj2, MINI-c8r3-rcw9-8mq2 and 13 more.