SecurityContext

CVE-2020-15801: Python - Path Restriction Bypass

  • Cve: CVE-2020-15801
  • Name: Python - Path Restriction Bypass
  • 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.
  • Impact: Attackers can load malicious code from arbitrary locations, potentially leading to remote code execution or system compromise.
  • Remediation: Update to a version where this issue is fixed or apply relevant patches.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03631
  • Epss percentile: 0.89825
  • Assignee: [email protected]
  • Published at: 2020-07-17T03:15:11Z
  • Age in days: 2321
  • Modified at: 2026-10-14T10:17:30Z
  • Patch available: yes
  • References total: 4
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15801
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-426Untrusted Search Path

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.python.org/issue41304Issue Tracking, Patch, Vendor Advisory
https://github.com/python/cpython/pull/21495Patch, Vendor Advisory
https://security.netapp.com/advisory/ntap-20200731-0003/Third Party Advisory
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

Products

ProductAffectedPlatform boundSourcesUrl
python:python>= 3.8.0, < 3.8.5; >= 3.7.0, < 3.7.9yesnvd/v1/products/python/python
netapp:max_dataall versionsnonvd/v1/products/netapp/max_data

Projects

RepositoryLink kindsIndexedUrl
python/cpythonpullyes/v1/repositories/python/cpython

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 5115604
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports