CVE-2023-36812
CWE-74Published: June 30, 2023· Updated: Jun 17, 2026
Official 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`.
Risk Analysis
OpenTSDB is vulnerable to remote code execution because it writes user-controlled input to a Gnuplot configuration file. This critical flaw allows an attacker to execute arbitrary commands on the host system.
No public exploit is known, and it is not in the CISA KEV. The vulnerability is remotely exploitable.
Upgrade to OpenTSDB version 2.4.2 or disable Gnuplot functionality in the configuration.
Technical Analysis
CVE-2023-36812 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (8)
Quick Facts
Related CVEs (CWE-74)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-36812 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts