Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-46156

HIGH 7.2EPSS 48%

Grafana's default installation of `synthetic-monitoring-agent` exposes sensitive information

Also known as GHSA-9j4f-f249-q5w8, GO-2022-1132

Mitigation

  • Upgrade github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent to 0.12.0 or later.
  • Upgrade github.com/grafana/synthetic-monitoring-agent to 0.12.0 or later.

Who should check

  • Projects that depend on Go package github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent (< 0.12.0)
  • Projects that depend on Go package github.com/grafana/synthetic-monitoring-agent (< 0.12.0)
  • Anyone running grafana synthetic-monitoring-agent < 0.12.0

Vulnerability facts

Affected
github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent < 0.12.0; github.com/grafana/synthetic-monitoring-agent < 0.12.0
Fixed in
0.12.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.69% chance of exploitation in 30 days (percentile 48, 2026-11-26)
CWE
CWE-489, CWE-749
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent< 0.12.00.12.0osv
Go github.com/grafana/synthetic-monitoring-agent< 0.12.00.12.0osv
grafana synthetic-monitoring-agent< 0.12.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-46156. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-46156.md
Affected: github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent < 0.12.0; github.com/grafana/synthetic-monitoring-agent < 0.12.0
Fixed in: 0.12.0

Steps:
1. Search this machine and project for github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent (Go), github.com/grafana/synthetic-monitoring-agent (Go), grafana synthetic-monitoring-agent: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-46156 being exploited?

There is no confirmed exploitation: CVE-2022-46156 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-46156?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2022-46156?

github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent < 0.12.0; github.com/grafana/synthetic-monitoring-agent < 0.12.0.

Is there a fix for CVE-2022-46156?

Yes. Fixed in 0.12.0. Upgrade github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent to 0.12.0 or later. Upgrade github.com/grafana/synthetic-monitoring-agent to 0.12.0 or later.

How do I check if I'm affected by CVE-2022-46156?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors