<Vulnerability name="CVE-2026-9703">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-11-11T01:34:06</PublicDate>
    <Bugzilla id="2507636" url="https://bugzilla.redhat.com/show_bug.cgi?id=2507636" xml:lang="en:us">
grafana: Grafana: Viewer role can create, modify and delete Loki alerting rules
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>7.1</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-862</CWE>
    <Details xml:lang="en:us" source="Mitre">
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 on an affected Grafana instance 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, not only for the Viewer who made the request.

Exploitation requires an authenticated Viewer account on the Grafana instance and a configured Loki data source; no other privileges are needed. Both Grafana OSS and Grafana Enterprise are affected. The defect is in Grafana's data source proxy; Loki itself is not vulnerable and does not need to be patched.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
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.
    </Details>
    <Statement xml:lang="en:us">
This flaw affects Red Hat products that ship Grafana when a Loki data source is configured. The defect is in Grafana's data source proxy authorization; Loki does not need a separate patch. Red Hat Grafana builds include this OSS code path. Instances without a Loki data source are not practically exploitable for this issue, but vulnerable proxy code remains until Grafana is updated.
    </Statement>
    <Mitigation xml:lang="en:us">
There is no supported configuration workaround. After upgrading, review Loki alerting rules for unexpected creations, modifications, or deletions.
    </Mitigation>
    <PackageState impact="important" cpe="cpe:/a:redhat:multicluster_globalhub">
        <ProductName>Multicluster Global Hub</ProductName>
        <FixState>Affected</FixState>
        <PackageName>multicluster-globalhub/multicluster-globalhub-grafana-rhel9</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:multicluster_globalhub:5">
        <ProductName>Multicluster Global Hub 5</ProductName>
        <FixState>Affected</FixState>
        <PackageName>multicluster-globalhub/multicluster-globalhub-grafana-rhel9</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:acm:2">
        <ProductName>Red Hat Advanced Cluster Management for Kubernetes 2</ProductName>
        <FixState>Affected</FixState>
        <PackageName>rhacm2/acm-grafana-rhel9</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:ceph_storage:5">
        <ProductName>Red Hat Ceph Storage 5</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhceph/rhceph-5-dashboard-rhel8</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:ceph_storage:6">
        <ProductName>Red Hat Ceph Storage 6</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhceph/rhceph-6-dashboard-rhel9</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:ceph_storage:7">
        <ProductName>Red Hat Ceph Storage 7</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhceph/grafana-rhel9</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:ceph_storage:8">
        <ProductName>Red Hat Ceph Storage 8</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>rhceph/grafana-rhel9</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:ceph_storage:9">
        <ProductName>Red Hat Ceph Storage 9</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhceph/grafana-rhel10</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Affected</FixState>
        <PackageName>grafana</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhel10/grafana</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Affected</FixState>
        <PackageName>grafana</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Affected</FixState>
        <PackageName>grafana</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhel9/grafana</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:hummingbird:1">
        <ProductName>Red Hat Hardened Images</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>grafana12.4</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:hummingbird:1">
        <ProductName>Red Hat Hardened Images</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>grafana13.1</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:hummingbird:1">
        <ProductName>Red Hat Hardened Images</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>grafana13.2</PackageName>
    </PackageState>
    <PackageState impact="important" cpe="cpe:/a:redhat:hummingbird:1">
        <ProductName>Red Hat Hardened Images</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>hi/grafana</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-9703
https://nvd.nist.gov/vuln/detail/CVE-2026-9703
https://grafana.com/security/security-advisories/cve-2026-9703/
    </References>
</Vulnerability>