Skip to content
Fencer Vulns
medium 5.1

CVE-2024-8118 json

Grafana alerting wrong permission on datasource rule write endpoint

published 2024-09-26 2 y ago modified 2026-06-17 4 mo ago also BIT-grafana-2024-8118 , EUVD-2024-48948

cvss
5.1
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Patch / fix

  • bitnami grafana 10.4.9, 11.2.1
  • Grafana Grafana 10.3.10, 10.4.9, 11.0.5, 11.1.6, 11.2.1
  • grafana SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 10.4.13-150200.3.59.1
  • grafana Manager Client Tools 15 10.4.13-150000.1.66.1
  • spacecmd openSUSE Leap 15.6, Manager Client Tools 15 5.0.11-150000.3.130.1
  • uyuni-tools Manager Client Tools for SLE Micro 5, Manager Client Tools 15 0.1.28-150000.1.16.1
  • dracut-saltboot openSUSE Leap 15.6, Manager Client Tools for SLE Micro 5, Manager Client Tools 15 0.1.1728559936.c16d4fb-150000.1.56.1
  • supportutils-plugin-salt SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +14 more 1.2.3-150000.3.16.1
  • golang-github-prometheus-promu SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.17.0-150000.3.24.1
  • golang-github-prometheus-prometheus Manager Client Tools 15 2.53.3-150000.3.59.1

suse advisories SUSE-SU-2025:0545-1SUSE-SU-2025:0525-1SUSE-SU-2025:0524-1

  • grafana openSUSE Tumbleweed 11.3.0-1.1

opensuse advisories openSUSE-SU-2024:14431-1

  • grafana Alpine 3.20 11.0.6-r0
  • grafana Alpine 3.20 11.0.7-r0

alpine advisories ALPINE-CVE-2024-8118

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-8118 updated cvss 4.7

grafana: wrong permission is applied to the alert rule write API endpoint

  • Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat Enterprise Linux 10 grafana
    affected: no fix planned “Will not fix”
  • Red Hat Storage 3 grafana
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 5.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
CNA 4.0 5.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
bitnami grafana
>=8.5.0, <10.4.9
>=11.0.0, <11.2.1
10.4.9
11.2.1

Affected products

  • Grafana Grafana

Classification

Weakness
  • CWE-653 Improper Isolation or Compartmentalization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.