# CVE-2020-35476: OS Command Injection in OpenTSDB

- 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): 85.3%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-12-16T00:00:00.000Z
- Modified: 2026-06-17T03:13:46.653Z
- Also known as: GHSA-hv53-q76c-7f8c
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

A remote code execution vulnerability occurs in OpenTSDB through 2.4.0 via command injection in the yrange parameter. The yrange value is written to a gnuplot file in the /tmp directory. This file is then executed via the mygnuplot.sh shell script. (tsd/GraphHandler.java attempted to prevent command injections by blocking backticks but this is insufficient.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- net.opentsdb:opentsdb (Maven): up to 2.4.0
- opentsdb opentsdb: up to 2.4.0

## Every score

- GitHub: 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: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 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/OpenTSDB/opentsdb/issues/2051> (exploit, issue-tracking, third-party-advisory, web)
- <http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35476> (advisory)

## Sources

- CVE List: [CVE-2020-35476](https://www.cve.org/CVERecord?id=CVE-2020-35476), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hv53-q76c-7f8c](https://github.com/advisories/GHSA-hv53-q76c-7f8c), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-35476](https://nvd.nist.gov/vuln/detail/CVE-2020-35476), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35476 · Whole record: https://cve.day/CVE-2020-35476.json · Rebuilt by cve.day 2026-11-25T22:57:56.280Z
