CVE-2026-3479
python: Python pkgutil.get_data(): Path Traversal via improper resource argument validation
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 19, 2026
Updated · August 22, 2026
Description
A flaw was found in Python's pkgutil.get_data() function, which is used to retrieve data from packages. This function did not properly validate the resource argument, allowing a local attacker to perform path traversal attacks. Path traversal enables an attacker to access files and directories stored outside the intended root directory, potentially leading to information disclosure or unintended file access.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')