Live threats

All CVEs / Grafana

CVE-2022-46156Grafana Synthetic Monitoring Agent

Low 3.3

Priority
20
CVSS 3.1
3.3
EPSS
0.8%
probability of exploitation in 30 days · percentile 51
Auth required
Yes
Published
Nov 30, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-489, CWE-749
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Synthetic Monitoring Agent.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/grafana/synthetic-monitoring-agent < 0.12.0 0.12.0 go get github.com/grafana/synthetic-monitoring-agent@v0.12.0
Go github.com/grafana/synthetic-monitoring-agent < 0.12.0 0.12.0 go get github.com/grafana/synthetic-monitoring-agent@v0.12.0
Go github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent < 0.12.0 0.12.0 go get github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent@v0.12.0

Per OSV / GitHub Advisories (GHSA-9j4f-f249-q5w8, GO-2022-1132). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
grafanasynthetic_monitoring_agent< 0.12.0

Official sources

References

Links published by the sources. Open them with care.