# CVE-2023-36812: Remote Code Execution in OpenTSDB

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `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): 16.5%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-30T22:58:33.603Z
- Modified: 2026-09-10T03:50:02.124Z
- Also known as: GHSA-76f7-9v52-v2fw
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

OpenTSDB is a open source, distributed, scalable Time Series Database (TSDB). OpenTSDB is vulnerable to Remote Code Execution vulnerability by writing user-controlled input to Gnuplot configuration file and running Gnuplot with the generated configuration. This issue has been patched in  commit `07c4641471c` and further refined in commit `fa88d3e4b`. These patches are available in the `2.4.2` release. Users are advised to upgrade. User unable to upgrade may disable Gunuplot via the config option`tsd.core.enable_ui = true` and remove the shell files `mygnuplot.bat` and `mygnuplot.sh`.

(As written by CVE List.)

## Affected

- OpenTSDB opentsdb: < 2.4.2; before 2.4.2
- net.opentsdb:opentsdb (Maven): before 2.4.2

## Every score

- GitHub_M: 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`
- 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`

## References

- <http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html> (exploit, web)
- <https://github.com/OpenTSDB/opentsdb/security/advisories/GHSA-76f7-9v52-v2fw> (patch, web)
- <https://github.com/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9> (patch, web)
- <https://github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-36812> (advisory)
- <https://github.com/OpenTSDB/opentsdb> (package)

## Sources

- CVE List: [CVE-2023-36812](https://www.cve.org/CVERecord?id=CVE-2023-36812), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-76f7-9v52-v2fw](https://github.com/advisories/GHSA-76f7-9v52-v2fw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-36812](https://nvd.nist.gov/vuln/detail/CVE-2023-36812), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-36812 · Whole record: https://cve.day/CVE-2023-36812.json · Rebuilt by cve.day 2026-11-25T22:58:25.350Z
