CVE-2026-81938
Arbitrary file read via Alertmanager receiver configuration in Grafana Mimir
Mitigation
- Upgrade Enterprise Metrics (GEM) to 2.17.20 or later.
- Upgrade Grafana Mimir to 3.2.2 or later.
Who should check
- Anyone running Grafana Enterprise Metrics (GEM) >= 2.11.0, <= 2.16.2; >= 2.17.0, < 2.17.20
- Anyone running Grafana Mimir >= 3.0.4, < 3.1.7; >= 3.2.0, < 3.2.2
Vulnerability facts
- Affected
- Grafana Enterprise Metrics (GEM) >= 2.11.0, <= 2.16.2; >= 2.17.0, < 2.17.20; Grafana Mimir >= 3.0.4, < 3.1.7; >= 3.2.0, < 3.2.2
- Fixed in
- Grafana Enterprise Metrics (GEM) 2.17.20, Grafana Mimir 3.1.7, Grafana Mimir 3.2.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.44% chance of exploitation in 30 days (percentile 30, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
Grafana Mimir's Alertmanager rejects tenant-supplied receiver configurations that reference local files, but the check did not cover two HTTP client settings: http_headers.<name>.files and basic_auth.username_file. A tenant permitted to upload an Alertmanager configuration could point these fields at any file readable by the Alertmanager process. When a notification was sent, Alertmanager read the file and put its contents in a header of the outgoing request. By directing the receiver at a server they control, the tenant could read files from the Alertmanager host, such as credentials and configuration. Exploitation requires permission to write the tenant's Alertmanager configuration. Grafana Enterprise Metrics (GEM), which is built on Mimir, is also affected. The issue is fixed in Mimir 3.1.7 and 3.2.2 and in GEM 2.17.20. GEM 2.11 through 2.16 will not receive a fix; users on those versions should upgrade to 2.17.20 or later.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Grafana Enterprise Metrics (GEM) | >= 2.11.0, <= 2.16.2; >= 2.17.0, < 2.17.20 | — | cvelist |
| Grafana Mimir | >= 3.0.4, < 3.1.7; >= 3.2.0, < 3.2.2 | — | 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-2026-81938. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-81938.md Affected: Grafana Enterprise Metrics (GEM) >= 2.11.0, <= 2.16.2; >= 2.17.0, < 2.17.20; Grafana Mimir >= 3.0.4, < 3.1.7; >= 3.2.0, < 3.2.2 Fixed in: Grafana Enterprise Metrics (GEM) 2.17.20, Grafana Mimir 3.1.7, Grafana Mimir 3.2.2 Steps: 1. Search this machine and project for Grafana Enterprise Metrics (GEM), Grafana Mimir: 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
Vendor advisories
FAQ
Is CVE-2026-81938 being exploited?
There is no confirmed exploitation: CVE-2026-81938 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-81938?
High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-81938?
Grafana Enterprise Metrics (GEM) >= 2.11.0, <= 2.16.2; >= 2.17.0, < 2.17.20; Grafana Mimir >= 3.0.4, < 3.1.7; >= 3.2.0, < 3.2.2.
Is there a fix for CVE-2026-81938?
Yes. Fixed in Grafana Enterprise Metrics (GEM) 2.17.20, Grafana Mimir 3.1.7, Grafana Mimir 3.2.2. Upgrade Enterprise Metrics (GEM) to 2.17.20 or later. Upgrade Grafana Mimir to 3.2.2 or later.
How do I check if I'm affected by CVE-2026-81938?
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.