Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-17183: CWE-863: INCORRECT AUTHORIZATION in Grafana Grafana OSS

0
High
VulnerabilityCVE-2026-17183cvecve-2026-17183cwe-863
Published: 08/19/2026 (08/19/2026, 17:30:06 UTC)
Source: CVE Database V5
Vendor/Project: Grafana
Product: Grafana OSS

Description

An authenticated user with permission to create or edit alert rules can bypass datasource query authorization by marking an alert rule query as a server-side expression while referencing a real datasource UID (incorrect authorization). This can expose data accessible through Grafana's configured datasource credentials to users who lack permission to query that datasource.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
grafana/grafana
pkg:github/grafana/grafana
Affected versions
=8.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 17:54:42 UTC

Technical Analysis

This vulnerability in Grafana OSS occurs in the Unified Alerting component where an attacker with permission to create or edit alert rules in a folder can bypass datasource query permissions. By submitting an alert-rule query with queryType set to "__expr__" and specifying the UID of a real datasource, the authorization path incorrectly skips permission enforcement because it trusts the client-controlled queryType. However, during query evaluation, Grafana uses the datasource UID to execute the query with the datasource's credentials. This inconsistency between authorization and execution leads to unauthorized data access. The root cause is improper authorization logic that does not validate the relationship between queryType and datasource UID, allowing a low-privileged user to access data they should not query directly.

Potential Impact

The vulnerability allows a low-privileged authenticated user to access data from datasources for which they lack query permissions, resulting in a high confidentiality impact. Integrity impact is low since some datasources may allow state-changing queries, but no availability impact has been demonstrated. The scope remains unchanged as the impact is confined within Grafana's security boundaries.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The recommended remediation includes not exempting queries from datasource authorization based solely on client-controlled queryType, resolving the referenced datasource server-side before authorization, enforcing datasources:query permission for real datasources, and ensuring authorization and evaluation use the same canonical datasource identity. Additionally, expression queries should only reference the canonical server-side expression datasource, rejecting mismatches. Regression tests should cover scenarios with folder-level alert-rule edit permission but without datasource query permission. Until a patch is released, restrict alert rule edit permissions to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GRAFANA
Date Reserved
2026-07-24T18:38:02.221Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a85eb30acd9273b4966721e

Added to database: 08/19/2026, 17:43:12 UTC

Last enriched: 08/19/2026, 17:54:42 UTC

Last updated: 08/20/2026, 01:24:10 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses