CVE-2022-46156 json
Grafana's default installation of `synthetic-monitoring-agent` exposes sensitive information
published 2022-11-30 3 y ago modified 2026-06-17 4 mo ago also GHSA-9j4f-f249-q5w8 , GO-2022-1132 , EUVD-2024-2762
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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`.
Patch / fix
- go github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent 0.12.0
- go github.com/grafana/synthetic-monitoring-agent 0.12.0
- grafana synthetic_monitoring_agent 0.12.0
- github.com/grafana/synthetic-monitoring-agent@d8dc7f9 commit
- github.com/grafana/synthetic-monitoring-agent#373 pull request
- github.com/grafana/synthetic-monitoring-agent#374 pull request
- github.com/grafana/synthetic-monitoring-agent#375 pull request
- github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent | <0.12.0 |
0.12.0 |
| go | github.com/grafana/synthetic-monitoring-agent | <0.12.0 |
0.12.0 |
Affected products
- grafana synthetic-monitoring-agent
Classification
References
-
github.com
/grafana/synthetic-monitoring-agent/pull/373
web, patch, third-party-advisory
-
github.com
/grafana/synthetic-monitoring-agent/pull/374
web, patch, third-party-advisory
-
github.com
/grafana/synthetic-monitoring-agent/pull/375
web, third-party-advisory, patch
-
github.com
/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228
web, patch, third-party-advisory
-
github.com
/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8
web, mitigation, third-party-advisory, advisory
-
github.com
/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-46156
advisory
-
github.com
/grafana/synthetic-monitoring-agent
package
-
pkg.go.dev
/vuln/GO-2022-1132
web
Sources
- CVE List CVE-2022-46156
- GitHub Advisory GHSA-9j4f-f249-q5w8
- NVD CVE-2022-46156
- OSV GO-2022-1132
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.