Skip to content

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

HighCVSS 7.7 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
grafana Enterprise Metrics (GEM) >= 2.11.0, <= 2.16.2; >= 2.17.0, < 2.17.20 2.17.20 Fixed
Grafana Mimir >= 3.0.4, < 3.1.7; >= 3.2.0, < 3.2.2 3.1.7, 3.2.2 Fixed

Affected products

ProductAffected versionsFixed in
grafana Enterprise Metrics (GEM) >= 2.11.0, <= 2.16.2 No fix listed
grafana Enterprise Metrics (GEM) >= 2.17.0, < 2.17.20 2.17.20
Grafana Mimir >= 3.0.4, < 3.1.7 3.1.7
Grafana Mimir >= 3.2.0, < 3.2.2 3.2.2

References