CVE-2022-46156: grafana synthetic_monitoring_agent Active Debug Code
Vulnerability summary
CVE-2022-46156 is a high (CVSS 7.2) Active Debug Code vulnerability in grafana synthetic_monitoring_agent. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 42.5% of scored vulnerabilities.
Timeline
- 30-11-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
The Synthetic Monitoring Agent for Grafana's Synthetic Monitoring application provides probe functionality and executes network checks for monitoring remote targets. Users running the Synthetic Monitoring agent prior to version 0.12.0 in their local network are impacted. The authentication token used to communicate with the Synthetic Monitoring API is exposed through a debugging endpoint. This token can be used to retrieve the Synthetic Monitoring checks created by the user and assigned to the agent identified with that token. The Synthetic Monitoring API will reject connections from already-connected agents, so access to the token does not guarantee access to the checks. Version 0.12.0 contains a fix. Users are advised to rotate the agent tokens. After upgrading to version v0.12.0 or later, it's recommended that users of distribution packages review the configuration stored in `/etc/synthetic-monitoring/synthetic-monitoring-agent.conf`, specifically the `API_TOKEN` variable which has been renamed to `SM_AGENT_API_TOKEN`. As a workaround for previous versions, it's recommended that users review the agent settings and set the HTTP listening address in a manner that limits the exposure, for example, localhost or a non-routed network, by using the command line parameter `-listen-address`, e.g. `-listen-address localhost:4050`.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- NVDNIST3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.51%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
+0.02 pp
From 0.50% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-489Active Debug CodeThe product is released with debugging code still enabled or active.
- CWE-749Exposed Dangerous Method or FunctionThe product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.
Affected systems
Grafana2 products
- synthetic_monitoring_agent< 0.12.0
- synthetic-monitoring-agent< 0.12.0
Github.com/grafana1 product
- synthetic-monitoring-agent< 0.12.0
Github.com/grafana/synthetic-monitoring-agent/cmd1 product
- synthetic-monitoring-agent< 0.12.0
3 vendors · 4 products
References
9 links- github.com/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8WEBAdvisoryMitigationThird Party Advisory
- github.com/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228WEBFIXPatchThird Party Advisory
- github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0WEBRelease NotesThird Party Advisory