CVE-2020-15801

python: sys.path allowing code to be loaded from arbitrary locations

Published Jul 17, 2020 CVSS 3.1 · 9.8 Critical EPSS 3.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-7784 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 9:35 AM
Reserved
Jul 17, 2020, 12:00 AM
Status
Modified
Published
Jul 17, 2020, 3:15 AM
Modified
Oct 14, 2026, 10:17 AM
Severity
Important
Public date
Jul 15, 2020, 12:00 AM