{"schemaVersion":4,"id":"CVE-2026-81938","aliases":[],"status":"published","duplicateOf":null,"title":"Arbitrary file read via Alertmanager receiver configuration in Grafana Mimir","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.\n\nExploitation 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.","dates":{"published":"2026-11-02T18:23:43.604Z","modified":"2026-11-02T19:06:58.641Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00393,"percentile":0.35577,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00393},"history":[{"date":"2026-11-03T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00393,"percentile":0.35577}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00393,"percentile":0.35577}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"grafana","product":"enterprise metrics (gem)","name":"Enterprise Metrics (GEM)","label":"enterprise metrics (gem)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.11.0, ≤ 2.16.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.11.0","startInclusive":true,"end":"2.16.2","endInclusive":true}},{"text":"≥ 2.17.0, < 2.17.20","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.17.0","startInclusive":true,"end":"2.17.20","endInclusive":false}}],"versionsText":"≥ 2.11.0, ≤ 2.16.2 | ≥ 2.17.0, < 2.17.20","eol":null,"hubHref":"/vendor/grafana/enterprise_metrics_gem"},{"vendor":"grafana","product":"grafana mimir","name":"Grafana Mimir","label":"grafana mimir","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.4, < 3.1.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.4","startInclusive":true,"end":"3.1.7","endInclusive":false}},{"text":"≥ 3.2.0, < 3.2.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.2.0","startInclusive":true,"end":"3.2.2","endInclusive":false}}],"versionsText":"≥ 3.0.4, < 3.1.7 | ≥ 3.2.0, < 3.2.2","eol":null,"hubHref":"/vendor/grafana/grafana_mimir"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-81938","label":"grafana.com/security/security-advisories/cve-2026-81938","hostname":"grafana.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-02T18:23:43.604Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-02T19:06:58.641Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,77],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00393,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-02T19:06:58.641Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-02T19:06:58.641Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-02T19:06:44.198Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00393,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:09:09.256Z","stale":false,"partial":false}}