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

CVE-2020-15801 affects 6 listed versions of Python in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
4%EPSS (next 30 days)
17 July 2020published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Python

6 of 250 listed versions are affected. Fixed in 3.7.9. The newest release, 3.15.2, is not affected.

3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 17 July 2020. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2020-15801 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.