Critical
Security advisory
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 ._pth file (e.g., the python._pth file) is not affected.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15801
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:53 UTC · Revision 1
Source evidence
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 ._pth file (e.g., the python._pth file) is not affected.
osv:CVE-2020-15801
Complete source record
{
"id": "1a751245b8a1a4c18b1d39f1ead05e0df63099c6ecce91cd51f960dc287b5e58",
"url": "https://osv.dev/vulnerability/CVE-2020-15801",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15801",
"summary": "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 ._pth file (e.g., the python._pth file) is not affected.",
"evidence": "osv:CVE-2020-15801",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-15801",
"aliases": [
"BIT-libpython-2020-15801",
"BIT-python-2020-15801",
"BIT-python-min-2020-15801",
"CVE-2020-15801"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/python/cpython",
"type": "GIT",
"events": [
{
"introduced": "1bf9cc509326bc42cd8cb1650eb9bf64550d817e"
},
{
"fixed": "13c94747c74437e594b7fc242ff7da668e81887c"
},
{
"introduced": "fa919fdf2583bdfead1df00e842f24f30b2a34bf"
},
{
"fixed": "580fbb018fd0844806119614d752b41fc69660f9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.7.0"
},
{
"fixed": "3.7.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.8.0"
},
{
"fixed": "3.8.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15801.json"
}
}
],
"modified": "2026-10-20T10:51:56.401209028Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://security.netapp.com/advisory/ntap-20200731-0003/",
"https://bugs.python.org/issue41304",
"https://github.com/python/cpython/pull/21495"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15801",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383142,
"published_at": "2020-07-17T03:15:11.33+00:00"
}