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

- Severity: None 0.0 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2026-03-18T18:13:42.288Z
- Modified: 2026-06-17T10:43:39.067Z
- Also known as: PSF-2026-13, BIT-LIBPYTHON-2026-3479, BIT-PYTHON-2026-3479, BIT-PYTHON-MIN-2026-3479
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## 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.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.13.13; from 3.14.0 before 3.14.4; from 3.15.0a1 before 3.15.0a8
- https://github.com/python/cpython: before bcdf231946b1da8bdfbab4c05539bb0cc964a1c7; before 5af6ce3e7b643a30a02d22245c1e3f4a8bc0a1fe; before cf59bf76470f3d75ad47d80ffb8ce76b64b5e943; before d786d59a8f7196bb630100a869f28ad13436b59c
- libpython (Bitnami): before 3.15.0
- python (Bitnami): before 3.15.0
- python-min (Bitnami): before 3.15.0

## Every score

- PSF: CVSS:4.0 0.0 None `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`
- Bitnami Vulnerability Database: rating Low

## References

- <https://github.com/python/cpython/pull/146122> (patch, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/WYLLVQOOCKGK73JM7Z7ZSNOJC4N7BAWY/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/issues/146121> (issue-tracking, report, web)
- <https://github.com/python/cpython/commit/bcdf231946b1da8bdfbab4c05539bb0cc964a1c7> (fix, patch, web)
- <https://github.com/python/cpython/commit/5af6ce3e7b643a30a02d22245c1e3f4a8bc0a1fe> (fix, patch)
- <https://github.com/python/cpython/commit/cf59bf76470f3d75ad47d80ffb8ce76b64b5e943> (fix, patch)
- <https://github.com/python/cpython/commit/d786d59a8f7196bb630100a869f28ad13436b59c> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-3479> (web)

## Sources

- CVE List: [CVE-2026-3479](https://www.cve.org/CVERecord?id=CVE-2026-3479), CVE Terms of Use, modified 2026-04-07
- Python Software Foundation: [PSF-2026-13](https://osv.dev/vulnerability/PSF-2026-13), CC-BY-4.0, modified 2026-04-08
- NVD: [CVE-2026-3479](https://nvd.nist.gov/vuln/detail/CVE-2026-3479), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-3479](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-3479), Apache-2.0, modified 2026-03-27
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-3479](https://osv.dev/vulnerability/BIT-PYTHON-2026-3479), Apache-2.0, modified 2026-03-27
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-3479](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-3479), Apache-2.0, modified 2026-03-27

---

Page: https://cve.day/CVE-2026-3479 · Whole record: https://cve.day/CVE-2026-3479.json · Rebuilt by cve.day 2026-11-25T22:59:16.133Z
