What’s Vulnerable › Vulnerabilities
CVE-2019-17526
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-10-18 · updated 2026-06-17
- Weakness: CWE-78
Description
An issue was discovered in SageMath Sage Cell Server through 2019-10-05. Python Code Injection can occur in the context of an internet facing web application. Malicious actors can execute arbitrary commands on the underlying operating system, as demonstrated by an __import__('os').popen('whoami').read() line. NOTE: the vendor's position is that the product is "vulnerable by design" and the current behavior will be retained
Affected products
- Sagemathcell: all versions
References
- https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525
- https://github.com/sagemath/sagecell/commits/master
- https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html
- https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525
- https://github.com/sagemath/sagecell/commits/master
- https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html
Get alerted when CVE-2019-17526 or the next vulnerability affects your stack