- Home
- Vulnerabilities
- CVE-2026-81938
CVE-2026-81938
Arbitrary file read via Alertmanager receiver configuration in Grafana Mimir
Summary
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 products and versions
Grafana (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Enterprise Metrics (GEM) | from 2.11.0 (included) to 2.16.2 (included) |
— | CNA (vendor or assigner) |
| Enterprise Metrics (GEM) | from 2.17.0 (included) to 2.17.20 (excluded) |
— | CNA (vendor or assigner) |
| Mimir | from 3.0.4 (included) to 3.1.7 (excluded) |
— | CNA (vendor or assigner) |
| Mimir | from 3.2.0 (included) to 3.2.2 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N(CVSS 3.1, CNA:GRAFANA)- Weakness
- CWE-22 · Traversée de chemin / fichiers