Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. An authenticated organization user who can create or edit alert rules in a folder can query a datasource for which they do not have datasources:query permission. The attacker sets the client-controlled query field queryType to __expr__ while retaining the UID of a real datasource. The alert-rule authorization path treats the query as a server-side expression and skips datasource permission enforcement, while the evaluator subsequently resolves and executes the query against the real datasource identified by datasourceUid. This bypass can expose data accessible through Grafana's configured datasource credentials to a low-privileged user who is not authorized to query that datasource directly. Confidentiality impact is High. Integrity impact is Low because some datasource backends and configured credentials may permit state-changing queries. No availability impact has been demonstrated. Affected from 8.4.0 before 12.3.11 Fixed Versions: <8.4.0 >=12.3.11 <12.4.0 >=12.4.9 <13.0.0 >=13.0.7 <13.1.0 >=13.1.4 <13.2.0 >=13.2.0
Fixed in Fedora rawhide by updating the package to grafana 12.4.16, the current release of the 12.4 branch, which contains the upstream fix for this flaw. The update is proposed for review in https://src.fedoraproject.org/rpms/grafana/pull-request/21
Grafana 12.4.16-1.fc46 is now in Fedora rawhide. The Bodhi update FEDORA-2026-fe8b12297d https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe8b12297d went stable on 2026-12-01 and contains the fix for this flaw (fixed upstream in 12.4.9), so closing this tracker as fixed in the current release.