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

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 3.63%, higher than 89% of CVEs (2026-12-01)
- Published: 2020-07-17T02:15:04.000Z
- Modified: 2026-10-14T10:17:30.750Z
- Also known as: BIT-LIBPYTHON-2020-15801, BIT-PYTHON-2020-15801, BIT-PYTHON-MIN-2020-15801
- Weaknesses: CWE-426
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- python python: from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.5
- netapp max_data: no versions given
- libpython (Bitnami): from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.5
- python (Bitnami): from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.5
- python-min (Bitnami): from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.5

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://bugs.python.org/issue41304> (advisory, issue-tracking, patch, vendor-advisory)
- <https://github.com/python/cpython/pull/21495> (advisory, patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20200731-0003/> (advisory, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15801> (web)

## Sources

- CVE List: [CVE-2020-15801](https://www.cve.org/CVERecord?id=CVE-2020-15801), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2020-15801](https://nvd.nist.gov/vuln/detail/CVE-2020-15801), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2020-15801](https://osv.dev/vulnerability/BIT-LIBPYTHON-2020-15801), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2020-15801](https://osv.dev/vulnerability/BIT-PYTHON-2020-15801), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2020-15801](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2020-15801), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-15801 · Whole record: https://cve.day/CVE-2020-15801.json · Rebuilt by cve.day 2026-11-25T22:57:53.533Z
