Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Grafana as low-privileged org member
-
DeliveryEnumerate or infer target datasource UID via API or UI
-
ExploitCraft alert rule with queryType __expr__ and real datasourceUid
-
InstallSubmit rule to folder with edit permission
-
C2Authorization skips datasources:query check
-
ExecuteEvaluator executes query against real datasource using Grafana credentials
-
ImpactExfiltrate returned data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session within the target Grafana organization (CVSS PR:L confirmed) and the Grafana permission to create or edit alert rules in at least one accessible folder - this is a standard Editor-level capability and does not require any administrative role. The exploiting user must lack datasources:query permission on the target datasource; the bypass is the mechanism to circumvent that lack. The attacker must also know or be able to enumerate the datasourceUid of the target datasource; UIDs are typically visible in the Grafana datasource settings UI or via the datasources API to any authenticated user, making discovery realistic without elevated privileges. Unified Alerting (ngalert) must be enabled, which is the default in Grafana OSS versions 9.0 and later; installations still using Legacy Alerting are not subject to this specific authorization path. No user interaction is required (UI:N confirmed), and no special network position is needed beyond authenticated HTTPS access to the Grafana instance. |
| Impact | The NVD/Grafana-assigned CVSS 3.1 score of 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) is well-calibrated and accurately reflects the attack surface. The network vector and low attack complexity mean the attack can be executed from any browser session without special tooling - the only non-trivial prerequisite is knowing or enumerating the target datasource UID, which is often accessible to any authenticated org member via the Grafana UI. The PR:L constraint is the primary limiting factor: exploitation is bounded to authenticated organization members, making this a privileged insider or compromised-account scenario rather than a fully external threat. No EPSS score was provided in the input, so exploitation probability cannot be quantified; however, the absence of both a CISA KEV listing and public POC suggests exploitation has not been observed at scale. The Integrity:Low rating is meaningful - datasource backends such as InfluxDB or SQL databases configured with write credentials could accept state-modifying queries submitted through this bypass, though no specific confirmed instance is documented. The Scope:Unchanged assessment is accurate: the impact is confined to data Grafana already holds credentials for, not a pivot to an entirely separate system. Overall this is a genuine medium-to-high priority issue for any multi-tenant or multi-team Grafana deployment where data segregation between teams is a security requirement. |
| Exploit ScenarioDerived | An attacker holding a low-privileged Grafana organization account - for example, a team member with Editor access to a single folder - identifies the UID of a sensitive datasource (such as a production database connection) through the Grafana datasource list or API enumeration. They create or edit an alert rule in their accessible folder, setting queryType to __expr__ and datasourceUid to the target datasource's UID, then trigger alert evaluation. Grafana's authorization layer skips the datasources:query check, the evaluator executes the query against the production database using Grafana's stored credentials, and the query results - potentially containing sensitive rows - are returned to the attacker through the alert preview or evaluation response. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Grafana OSS's Unified Alerting component allows a low-privileged authenticated organization member to query any datasource - including those they are explicitly denied access to - by setting the client-controlled queryType field to the reserved value __expr__ while supplying the UID of a real datasource in an alert rule. Authorization skips the datasources:query permission check when it sees __expr__, but the evaluator subsequently resolves and executes the query against the real datasource identified by datasourceUid, resulting in full data exfiltration through Grafana's configured credentials. Affected versions span Grafana OSS 8.4.0 through 13.1.1; no public exploit code or CISA KEV listing has been identified at the time of analysis, but the low attack complexity and confirmed reproduction under default OSS permissions make this a credible insider-threat and privilege-escalation vector.
RemediationAI
Upgrade Grafana OSS to a version beyond 13.1.1 as confirmed affected; consult the official Grafana security advisory at https://grafana.com/security/security-advisories/cve-2026-17183 for the precise patched release, as the input data does not independently confirm an exact fix version beyond the affected boundary. The vendor's recommended architectural fix is to resolve the referenced datasource server-side before the authorization check and to apply the datasources:query permission whenever the resolved UID maps to a real datasource, rather than trusting the client-supplied queryType. A secondary control is to reject any alert-rule query where queryType is __expr__ but datasourceUid is not the canonical server-side expression datasource UID. If immediate upgrade is not feasible, a compensating control is to restrict folder-level alert-rule creation and edit permissions exclusively to users who already hold datasources:query access to all datasources in scope - this eliminates the privilege gap that makes the bypass exploitable, though it may reduce operational flexibility for teams that legitimately separate alerting authorship from direct datasource access. No network-layer mitigation is viable because the attack traverses the standard authenticated alert-rule API.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability sits in Grafana's Unified Alerting subsystem (ngalert) and is rooted in CWE-863 (Incorrect Authorization): the authorization path and the execution path use different canonical identities for the same query object. Authorization inspects the client-supplied queryType field and short-circuits permission enforcement when it equals the reserved string __expr__, treating the query as a server-side expression that does not touch an external datasource. The execution path, however, ignores queryType entirely and resolves the actual datasource using the datasourceUid field, which can reference any real, credentialed datasource in the organization. Because queryType is never validated for consistency with datasourceUid server-side, an attacker can craft a query object where the two fields are deliberately mismatched. The affected CPE is cpe:2.3:a:grafana:grafana_oss:*:*:*:*:*:*:*:*, confirmed across versions 8.4.0 through 13.1.1 per EUVD-2026-62597. The disclosure originated from an Intigriti bug bounty report (GRAFANALABS-F996ATD7) by researcher czarflix and was acknowledged as a valid OSS reproduction of a root cause previously marked Not Applicable due to Cloud/Enterprise-specific prerequisites.
Know when Grafana gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Network vector and low complexity confirmed; PR:L because an authenticated org account with folder-edit rights is the minimum prerequisite; C:H for full datasource data read; I:L for potential write-capable backends; A:N as no availability impact is demonstrated.
Primary rating from Vendor (GRAFANA).
CVSS VectorVendor: GRAFANA
DescriptionCVE.org
Summary
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.
Impact
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.
Attack prerequisites
- Authenticated, low-privileged user in the same Grafana organization
- Permission to create or edit alert rules in an accessible folder
- No datasources:query permission for the targeted datasource
- Knowledge or discovery of the targeted datasource UID
- No user interaction required
Technical details / root cause
- The attacker submits an alert-rule query with queryType: "__expr__" and the UID of a real datasource.
- The datasource authorization helper skips permission enforcement when query.QueryType == "__expr__".
- queryType is client-controlled and is not validated against the referenced datasource.
- During evaluation, Grafana selects and loads the actual datasource using DatasourceUID, not the spoofed queryType.
- The query therefore executes using Grafana's datasource credentials despite the caller lacking datasources:query.
The root cause is inconsistent query classification between authorization and execution: authorization trusts queryType, while execution trusts DatasourceUID.
Affected product / component
- Product: Grafana OSS
- Component: Unified Alerting / ngalert
- Area: Alert-rule datasource authorization and query evaluation
- Confirmed version: Grafana OSS 13.0.1
- Affected version range: not yet assessed
Severity
- CVSS 3.1: 7.1 High
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- CWE-863: Incorrect Authorization
Scope is Unchanged because the vulnerable authorization decision and resulting impact remain within Grafana's security authority.
Source
- Researcher: czarflix
- Intigriti report: GRAFANALABS-F996ATD7
- Report URL: https://app.intigriti.com/company/submissions/GRAFANALABS-F996ATD7
Related report / duplicate assessment
This is a default-Grafana-OSS reproduction of the root cause previously reported in GRAFANALABS-IAQAFIXI. The earlier submission was archived as Not Applicable because its proof of concept depended on Cloud/Enterprise-specific permission mechanisms, and the researcher was invited to demonstrate the issue under default OSS permissions. This report establishes that missing prerequisite and should be treated as the actionable OSS submission, not dismissed as a duplicate.
VUL-2026-0095 and VUL-2026-0126 concern Enterprise Recorded Queries and have different components, endpoints, and root causes; they are related authorization issues but not duplicates.
Recommended remediation
- Do not exempt a query from datasource authorization based solely on client-controlled queryType.
- Resolve the referenced datasource server-side before authorization and apply datasources:query whenever the resolved UID represents a real datasource.
- Require expression queries to reference only the canonical server-side expression datasource and reject mismatches such as queryType: "__expr__" paired with a real datasource UID.
- Ensure authorization and evaluation use the same canonical datasource identity and fail closed when fields conflict.
- Add regression coverage for an OSS user with folder-level alert-rule edit permission but without datasource query permission, including mismatched queryType and datasourceUid values.
Executive ViewAI
Grafana OSS Unified Alerting contains an authorization bypass vulnerability (CVE-2026-17183) affecting versions 8.4.0 through 13.1.1 that enables low-privileged users to exfiltrate sensitive monitoring data by querying datasources they lack permissions to access. With no vendor patch currently available, organizations face an insider-threat vector requiring immediate compensating controls. This vulnerability directly undermines data access governance and exposes critical infrastructure metrics to unauthorized personnel within the organization.
Restrict alert rule creation and modification privileges to trusted administrators only; enforce fine-grained datasource-level access controls aligned to the principle of least privilege; deploy comprehensive audit logging configured to detect and alert on non-standard queryType field values, particularly __expr__; consider disabling Unified Alerting in non-critical production environments to eliminate the attack surface; implement network segmentation to limit access to monitoring datasources from restricted administrative networks only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input.
The `Release PR Merged` workflow in the github repo taosdata/grafanaplugin is subject to a command injection vulnerabili
An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix. Rated critical severity (CVSS 9.8), this
A signature verification vulnerability exists in crewjam/saml. Rated critical severity (CVSS 9.8), this vulnerability is
Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generat
Authentication bypass in Grafana OnCall through 1.16.11 lets unauthenticated remote attackers mint a valid PluginAuthTok
Insertion of sensitive information in the centralized (Grafana) logging system in ProLion CryptoSpike 3.0.15P2 allows re
A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redire
The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. Rated high severity (CVSS
Grafana is an open-source platform for monitoring and observability. Rated high severity (CVSS 7.5), this vulnerability
Grafana 8.4.3 allows unauthenticated access via (for example) a /dashboard/snapshot/*?orgId=0 URI. Rated high severity (
Grafana 8.4.3 allows reading files via (for example) a /dashboard/snapshot/%7B%7Bconstructor.constructor'/.. Rated high
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected |
| SUSE Manager Client Tools 15 | Affected |
| SUSE Manager Client Tools for SLE 15 | Affected |
| SUSE Multi-Linux Manager Client Tools for SLE 15 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
| SUSE Multi Linux Manager Tools SLE-15 | Affected |
| ses/7.1/ceph/grafana ses/7/ceph/grafana suse/multi-linux-manager/5.2/x86_64/monitoring-grafana | Affected |
EUVD-2026-62597
GHSA-f74r-h7qj-c63f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB