{"id":"CVE-2024-8118","summary":"Grafana alerting wrong permission on datasource rule write endpoint","details":"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.","aliases":["BIT-grafana-2024-8118"],"modified":"2026-08-12T03:51:15.356448339Z","published":"2024-09-26T18:46:07.048Z","related":["SUSE-SU-2025:0524-1","SUSE-SU-2025:0525-1","SUSE-SU-2025:0545-1","openSUSE-SU-2024:14431-1"],"database_specific":{"cwe_ids":["CWE-653"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8118.json","cna_assigner":"GRAFANA"},"references":[{"type":"WEB","url":"https://github.com/grafana/grafana/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8118.json"},{"type":"ADVISORY","url":"https://grafana.com/security/security-advisories/cve-2024-8118/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8118"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/grafana/grafana","events":[{"introduced":"6134e3cf35a99c7dd3041b7ececb47cb7619ba9a"},{"fixed":"7bf99231de44c53c54bb158256562dd204f49b80"},{"introduced":"03f502a94d17f7dc4e6c34acdf8428aedd986e4c"},{"fixed":"0b009d49f45044cc2516d3576a08977ec393bed1"},{"introduced":"277ef258d4b9a5acdf2932347c6a4ca72d739b28"},{"fixed":"0421a8911cfc05a46c516fd9d033a51e52e51afe"},{"introduced":"5b85c4c2fcf5d32d4f68aaef345c53096359b2f1"},{"fixed":"b2c053e5b47cd7e83b3a80a6256f1dbb9ddc22a3"},{"introduced":"c57667e4481563f5e6cf945b03bc0626caa4dbeb"},{"fixed":"086b47f098a2f2d27a6d538cf4bc523c892ecdd2"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"8.5.0"},{"fixed":"10.3.10"},{"introduced":"10.4.0"},{"fixed":"10.4.9"},{"introduced":"11.0.0"},{"fixed":"11.0.5"},{"introduced":"11.1.0"},{"fixed":"11.1.6"},{"introduced":"11.2.0"},{"fixed":"11.2.1"}]}}],"versions":["v11.0.4","v11.0.2","v11.0.1","v11.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8118.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}