Skip to content
OpenAdvisories
Unscored CVE-2020-15801 EUVD-2020-7784GHSA-45fw-qrx2-rj7m

In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing code to be loaded from arbitrary locations. …

Published Jul 17, 2020 · Updated Oct 14, 2026 · Assigned by mitre

Description

In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing code to be loaded from arbitrary locations. The <executable-name>._pth file (e.g., the python._pth file) is not affected.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLE Micro 6.0 python311 +1 3.11.8-3.1 SUSE-SU-2025:20492-1, SUSE-SU-2025:20154-1, SUSE-SU-2025:20025-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python310 3.10.0rc1-4.2 openSUSE-SU-2024:11283-1
openSUSE Tumbleweed python311 3.11.0b1-1.1 openSUSE-SU-2024:12089-1
openSUSE Tumbleweed python312 3.12.0a7-1.1 openSUSE-SU-2024:12910-1
openSUSE Tumbleweed python313 3.13.0~b3-1.1 openSUSE-SU-2024:14109-1
openSUSE Tumbleweed python314 3.14.0~a1-1.1 openSUSE-SU-2024:14434-1
openSUSE Tumbleweed python315 3.15.0~a1-1.1 openSUSE-SU-2025:15713-1
openSUSE Tumbleweed python39 3.9.7-2.1 openSUSE-SU-2024:11286-1

Advisories 12

References