Markdown-supplied Shell Command Execution
Impact
lookatme versions prior to 2.3.0 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.
Patches
Users should upgrade to lookatme versions 2.3.0 or above.
Workarounds
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.
References
- https://github.com/d0c-s4vage/lookatme/pull/110
- https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0
For more information
If you have any questions or comments about this advisory:
- Open an issue in d0c-s4vage/lookatme
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lookatme | < 2.3.0 | 2.3.0 |
References
- https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q
- https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84
- https://pypi.org/project/lookatme/#history
- https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0
- https://github.com/d0c-s4vage/lookatme/pull/110
- https://nvd.nist.gov/vuln/detail/CVE-2020-15271
- https://github.com/d0c-s4vage/lookatme
- https://github.com/pypa/advisory-database/tree/main/vulns/lookatme/PYSEC-2020-61.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N- Weakness (CWE)
CWE-78- Platform
- Python (PyPI)
- Package
lookatme- Disclosed
- 26.10.2020
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2020-61 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-c84h-w6cr-5v8q - CC BY 4.0
Vulnerability history: lookatme
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.