Bug 2559078

Summary: CVE-2026-17183 grafana: Grafana: Information disclosure vulnerability in Unified Alerting [fedora-rawhide]
Product: [Fedora] Fedora Reporter: Joel Chamberlain <jochambe>
Component: grafanaAssignee: sfeifer
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: go-sig, jkurik, nathans, sfeifer, wcohen
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["e0dfede1-8134-47b9-80c7-fa1287aed526"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-12-02 06:36:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2519801    

Description Joel Chamberlain 2026-10-22 15:07:27 UTC
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

Comment 1 Jan Kurik 2026-11-28 12:22:18 UTC
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

Comment 2 Jan Kurik 2026-12-02 06:36:53 UTC
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.