Critical
Security advisory
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.)
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35476
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:25 UTC · Revision 1
Source evidence
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.)
osv:CVE-2020-35476
Complete source record
{
"id": "331e7a8683996b43b2d5db633267d3531f03763d46c63647870605ddb4d9a895",
"url": "https://osv.dev/vulnerability/CVE-2020-35476",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35476",
"summary": "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.)",
"evidence": "osv:CVE-2020-35476",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-35476",
"aliases": [
"CVE-2020-35476",
"GHSA-hv53-q76c-7f8c"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/opentsdb/opentsdb",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "14ab3ef8a865816cf920aa69f2e019b7261a7847"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.4.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.4.0",
"v2.3.2",
"v2.3.1",
"v2.2.2",
"v2.3.0",
"v2.2.1",
"v2.1.3",
"v2.2.0",
"v2.1.4",
"v2.1.2",
"2.1.1",
"v2.1.0",
"v2.0.1",
"v1.1.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35476.json"
}
}
],
"modified": "2026-10-20T10:54:19.774164601Z",
"provider": "osv",
"references": [
"https://github.com/OpenTSDB/opentsdb/issues/2051"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35476",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385061,
"published_at": "2020-12-16T08:15:13.56+00:00"
}