# CVE-2026-81938: Arbitrary file read via Alertmanager receiver configuration in Grafana Mimir

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-02 · Modified: 2026-11-02
- Record: https://cvemate.com/vulnerability/CVE-2026-81938 · JSON: https://cvemate.com/vulnerability/CVE-2026-81938/json

## Description

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

## Signals

- CVSS: 7.7 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.393%, percentile 35.577%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- grafana enterprise metrics (gem): ≥ 2.11.0, ≤ 2.16.2 \| ≥ 2.17.0, \< 2.17.20
- grafana grafana mimir: ≥ 3.0.4, \< 3.1.7 \| ≥ 3.2.0, \< 3.2.2

## References

- <https://grafana.com/security/security-advisories/cve-2026-81938>

---

Data as of 2026-12-05T13:32:14.412Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
