CVE-2026-17183

Description

A flaw was found in Grafana's Unified Alerting component. An authenticated user with permissions to create or edit alert rules in a folder can bypass datasource query permissions. By manipulating the queryType field, an attacker can execute queries against datasources they are not authorized to access, leading to the disclosure of sensitive data. This vulnerability arises from inconsistent query classification between authorization and execution paths.

Statement

An authorization bypass vulnerability was found in Grafana's Unified Alerting engine. An authenticated user with folder permissions to create or edit alert rules can manipulate the queryType parameter to expr while supplying an arbitrary datasourceUid. Because the authorization layer misclassifies the query as a local expression and skips datasource permission checks while the evaluator executes it against the specified backend datasource, the attacker can execute unauthorized queries using Grafana's configured datasource credentials, leading to sensitive data disclosure and potential backend data tampering.

Mitigation

Restrict alert rule creation and editing permissions to trusted administrators using Grafana RBAC, or enforce strict read-only and least-privilege credential scopes directly on backend datasources.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.1N/A7.1
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactLowN/ALow
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Understanding the Weakness (CWE)

Access Control

Technical Impact: Bypass Protection Mechanism

Frequently Asked Questions

Want to get errata notifications? Sign up here.