Grafana's data source proxy did not apply role-based access control to write requests forwarded to Loki data sources. A user holding only the Viewer role could send POST, PUT and DELETE requests through the proxy to the Loki rules API (/loki/api/v1/rules), allowing them to create, modify and delete Loki alerting rules. Because those rules are stored by Loki rather than by Grafana, the change took effect for every user of that Loki data source. Exploitation requires an authenticated Viewer account and a configured Loki data source. Both Grafana OSS and Grafana Enterprise are affected. Loki itself is not vulnerable.
Exploitability
AV:NAC:LPR:LUI:NScope
S:UImpact
C:NI:HA:L7.1/CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L