CVE-2026-81938

Arbitrary file read via Alertmanager receiver configuration in Grafana Mimir

  • High 7.7

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.

Key facts

Published
2 Nov 2026
Last changed
2 Nov 2026
Assigned by
GRAFANA
EPSS
0.393% likely to be exploited in the next 30 days, higher than 34.003% of CVEs (scores for 16 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.7CVSS 3.1, Highfrom the CNA (GRAFANA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
GrafanaEnterprise Metrics (GEM)
  • Default status: unaffected
  • 2.11.0 up to and including 2.16.2 (affected)
  • 2.17.0 up to but excluding 2.17.20 (affected)
GrafanaGrafana Mimir
  • Default status: unaffected
  • 3.0.4 up to but excluding 3.1.7 (affected)
  • 3.2.0 up to but excluding 3.2.2 (affected)

Timeline

  1. 2 Nov 2026 Published

Weakness

Practice this bug class

HackZoneLabs has a hands-on lab on Path traversal (CWE-22).

References