CVE-2020-15271 json
Shell Command Execution in lookatme
published 2020-10-26 6 y ago modified 2026-09-10 1 mo ago also GHSA-c84h-w6cr-5v8q , PYSEC-2020-61 , EUVD-2020-0101
- cvss
- 9.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
In lookatme (python/pypi package) versions prior to 2.3.0, the package automatically loaded the built-in "terminal" and "file_loader" extensions. Users that use lookatme to render untrusted markdown may have malicious shell commands automatically run on their system. This is fixed in version 2.3.0. As a workaround, the `lookatme/contrib/terminal.py` and `lookatme/contrib/file_loader.py` files may be manually deleted. Additionally, it is always recommended to be aware of what is being rendered with lookatme.
Patch / fix
- pypi lookatme 2.3.0
- lookatme_project lookatme 2.3.0
- lookatme Debian 14, Debian 13, Debian 12 2.3.0-1
debian advisories DEBIAN-CVE-2020-15271
Exploit prediction
2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/d0c-s4vage/lookatme/pull/110 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | lookatme | <2.3.0 |
2.3.0 |
Affected products
- d0c-s4vage lookatme
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/d0c-s4vage/lookatme/pull/110
web, exploit, third-party-advisory
-
github.com
/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84
web, patch, third-party-advisory
-
github.com
/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q
web, third-party-advisory, advisory
-
github.com
/d0c-s4vage/lookatme/releases/tag/v2.3.0
web, release-notes, third-party-advisory
-
pypi.org
/project/lookatme/#history
web, release-notes, third-party-advisory, package
-
nvd.nist.gov
/vuln/detail/CVE-2020-15271
advisory
-
github.com
/d0c-s4vage/lookatme
package
-
github.com
/pypa/advisory-database/tree/main/vulns/lookatme/PYSEC-2020-61.yaml
web
Sources
- CVE List CVE-2020-15271
- GitHub Advisory GHSA-c84h-w6cr-5v8q
- NVD CVE-2020-15271
- OSV PYSEC-2020-61
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.