Skip to content
RedCVE

CVE-2026-81938Grafana Enterprise Metrics (GEM) path traversal

GrafanaPublished:

CVSS score

7.7

High

CVSS 3.1 from grafana.com

Exploit probability (EPSS)

0.39%

0.39% chance of exploitation in the next 30 days, higher than 34.2% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security@grafana.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Grafana Enterprise Metrics (GEM), Grafana Mimir and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Grafana Mimir to 3.1.7, 3.2.2 or later, on the branch you run.
    • Update Enterprise Metrics (GEM) to 2.17.20 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected products

Affected productsVersions
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

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-81938 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-81938?

CVE-2026-81938 has a CVSS 3.1 base score of 7.7 (high).

Which versions are 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)

Is there a patch for CVE-2026-81938?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.