CVE-2026-3479 json
pkgutil.get_data() does not enforce documented restrictions
published 2026-03-18 7 mo ago modified 2026-06-17 4 mo ago also BIT-python-2026-3479 , BIT-python-min-2026-3479 , EUVD-2026-12940
- cvss
- 0.0
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Python Software Foundation CPython 3.13.13, 3.14.4, 3.15.0a8
- python3.12 hummingbird 1 3.12.14-1.hum1
- python3.12-idle hummingbird 1 3.12.14-1.hum1
- python3.12-libs hummingbird 1 3.12.14-1.hum1
- python3.12-test hummingbird 1 3.12.14-1.hum1
- python3.12-tkinter hummingbird 1 3.12.14-1.hum1
- python3.11 hummingbird 1 3.11.16-1.hum1
- python3.11-idle hummingbird 1 3.11.16-1.hum1
- python3.11-libs hummingbird 1 3.11.16-1.hum1
red hat advisories RHSA-2026:58420RHSA-2026:57660RHSA-2026:11324RHSA-2026:10118RHSA-2026:7661RHSA-2026:7443
- python3 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +11 more 3.6.15-150300.10.129.1
- python3-core SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +12 more 3.6.15-150300.10.129.1
- grafana Multi Linux Manager Tools SLE-15 12.4.10-150002.4.27.1
- mgr-push Multi Linux Manager Tools SLE-15 5.2.5-150002.3.12.1
- spacecmd Multi Linux Manager Tools SLE-15 5.2.10-150002.3.15.1
- uyuni-tools Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 5.2.17-150002.3.20.1
- venv-salt-minion Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 3006.0-150002.5.22.1
- spacewalk-client-tools Multi Linux Manager Tools SLE-15 5.2.7-150002.3.12.1
suse advisories SUSE-SU-2026:4754-1SUSE-SU-2026:4743-1SUSE-SU-2026:4585-1SUSE-SU-2026:4584-1SUSE-SU-2026:4583-1SUSE-SU-2026:4582-1
- python-moto openSUSE Tumbleweed 5.2.1-1.1
- python311 openSUSE Tumbleweed 3.11.15-5.1
- python313 openSUSE Tumbleweed 3.13.13-1.1
- python314 openSUSE Tumbleweed 3.14.4-1.1
- python313 openSUSE Leap 16.0 3.13.13-160000.1.1
- python313-core openSUSE Leap 16.0 3.13.13-160000.1.1
- python313-nogil openSUSE Leap 16.0 3.13.13-160000.1.1
- python313-documentation openSUSE Leap 16.0 3.13.13-160000.1.1
opensuse advisories openSUSE-SU-2026:10782-1openSUSE-SU-2026:10552-1openSUSE-SU-2026:10553-1openSUSE-SU-2026:10554-1openSUSE-SU-2026:20517-1openSUSE-SU-2026:10520-1
- github.com/python/cpython@bcdf231 commit
- github.com/python/cpython@5af6ce3 commit
- github.com/python/cpython@cf59bf7 commit
- github.com/python/cpython@d786d59 commit
- github.com/python/cpython#146122 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-3479 updated cvss 3.3
python: Python pkgutil.get_data(): Path Traversal via improper resource argument validation
-
Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more Red Hat Enterprise Linux 8 numpy, scipy, PyYAML, python3, mod_wsgi, python36, +89 more Red Hat Enterprise Linux 9 python3, python3.9, python3.11, python3.12, python3.14, python3-idle, +21 more Red Hat Enterprise Linux 10 python3.12, python3.14 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-azure-rocm-rhel9affected: workaround, no fix available “Fix deferred”
+2 more productsfewer
Red Hat OpenShift AI (RHOAI) rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces/pluginregistry-rhel9 -
Red Hat Hardened Images python3 3.14.4-1.hum1, python3.14 3.14.4-1.hum1, python3.11 3.11.16-1.hum1, python3.12 3.12.14-1.hum1, python3.13 3.13.13-1.hum1, python3-idle 3.14.4-1.hum1, +32 morefixed: vendor fix RHSA-2026:7661
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 0.0 | 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 |
| CNA | 4.0 | 0.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- Python Software Foundation CPython
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/python/cpython/pull/146122
patch
-
github.com
/python/cpython/commit/bcdf231946b1da8bdfbab4c05539bb0cc964a1c7
patch
-
github.com
/python/cpython/commit/5af6ce3e7b643a30a02d22245c1e3f4a8bc0a1fe
patch
-
github.com
/python/cpython/commit/cf59bf76470f3d75ad47d80ffb8ce76b64b5e943
patch
-
github.com
/python/cpython/commit/d786d59a8f7196bb630100a869f28ad13436b59c
patch
-
mail.python.org
/archives/list/security-announce@python.org/thread/WYLLVQOOCKGK73JM7Z7ZSNOJC4N7BAWY/
vendor-advisory
-
github.com
/python/cpython/issues/146121
issue-tracking
Sources
- CVE List CVE-2026-3479
- NVD CVE-2026-3479
- OSV BIT-python-2026-3479
- OSV BIT-python-min-2026-3479
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.