# CVE-2019-17526: An issue was discovered in SageMath Sage Cell Server through 2019-10-05.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.00%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2019-10-18T16:15:08.000Z
- Modified: 2026-06-17T02:24:04.157Z
- Weaknesses: CWE-78, CWE-94
- Assigned by: mitre

## 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sagemath sagemathcell: no versions given

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html> (exploit, third-party-advisory)
- <https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525> (exploit, third-party-advisory)
- <https://github.com/sagemath/sagecell/commits/master> (patch)

## Sources

- CVE List: [CVE-2019-17526](https://www.cve.org/CVERecord?id=CVE-2019-17526), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-17526](https://nvd.nist.gov/vuln/detail/CVE-2019-17526), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-17526 · Whole record: https://cve.day/CVE-2019-17526.json · Rebuilt by cve.day 2026-11-25T22:57:47.625Z
