Skip to main content

Grafana OSS EUVDEUVD-2026-62597

| CVE-2026-17183 HIGH
Incorrect Authorization (CWE-863)
2026-08-19 GRAFANA GHSA-f74r-h7qj-c63f
7.1
CVSS 3.1 · Vendor: GRAFANA
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Grafana as low-privileged org member
  2. Delivery
    Enumerate or infer target datasource UID via API or UI
  3. Exploit
    Craft alert rule with queryType __expr__ and real datasourceUid
  4. Install
    Submit rule to folder with edit permission
  5. C2
    Authorization skips datasources:query check
  6. Execute
    Evaluator executes query against real datasource using Grafana credentials
  7. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Grafana OSS 8.4.0 ≤13.1.1

Affected Packages

euvd grafana_oss no fix

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

Vendor (GRAFANA) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 7.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.1 HIGH

Primary rating from Vendor (GRAFANA).

CVSS VectorVendor: GRAFANA

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

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

  1. The attacker submits an alert-rule query with queryType: "__expr__" and the UID of a real datasource.
  2. The datasource authorization helper skips permission enforcement when query.QueryType == "__expr__".
  3. queryType is client-controlled and is not validated against the referenced datasource.
  4. During evaluation, Grafana selects and loads the actual datasource using DatasourceUID, not the spoofed queryType.
  5. 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
High
Grafana is the dominant open-source observability dashboard in enterprise and cloud-native deployments
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-9264 CRITICAL POC
9.4 Oct 18

The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input.

CVE-2023-34111 CRITICAL POC
9.8 Jun 06

The `Release PR Merged` workflow in the github repo taosdata/grafanaplugin is subject to a command injection vulnerabili

CVE-2022-26148 CRITICAL POC
9.8 Mar 21

An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix. Rated critical severity (CVSS 9.8), this

CVE-2020-27846 CRITICAL POC
9.8 Dec 21

A signature verification vulnerability exists in crewjam/saml. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2018-15727 CRITICAL POC
9.8 Aug 29

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

CVE-2026-63087 CRITICAL POC
9.3 Jul 16

Authentication bypass in Grafana OnCall through 1.16.11 lets unauthenticated remote attackers mint a valid PluginAuthTok

CVE-2023-36649 CRITICAL POC
9.1 Dec 12

Insertion of sensitive information in the centralized (Grafana) logging system in ProLion CryptoSpike 3.0.15P2 allows re

CVE-2025-4123 HIGH POC
7.6 May 22

A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redire

CVE-2020-13379 HIGH POC
8.2 Jun 03

The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. Rated high severity (CVSS

CVE-2023-1387 HIGH POC
7.5 Apr 26

Grafana is an open-source platform for monitoring and observability. Rated high severity (CVSS 7.5), this vulnerability

CVE-2022-32276 HIGH POC
7.5 Jun 17

Grafana 8.4.3 allows unauthenticated access via (for example) a /dashboard/snapshot/*?orgId=0 URI. Rated high severity (

CVE-2022-32275 HIGH POC
7.5 Jun 06

Grafana 8.4.3 allows reading files via (for example) a /dashboard/snapshot/%7B%7Bconstructor.constructor'/.. Rated high

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy