Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with Viewer-role account
-
ExploitSubmit SQL Expression query casting to huge BINARY length
-
ExecutionGrafana attempts unbounded memory allocation
-
ImpactProcess exhausts memory and crashes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact 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 Grafana account holding at least the Viewer role (PR:L), and requires access to the SQL Expressions query feature, since the trigger is a SQL Expression query that casts a value to a very large BINARY length. The limiting factors are therefore: valid credentials on the target Grafana instance (no anonymous/unauthenticated path per PR:L), and availability of the SQL Expression functionality to the attacker. There is no user-interaction requirement (UI:N) and attack complexity is low (AC:L), so once a Viewer-level account and SQL Expression access exist, a single crafted query suffices; impact is limited to denial of service (A:H only, no data exposure or modification). |
| Impact | This is a moderate-severity availability-only flaw (CVSS 6.5, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) whose real-world priority is bounded by its impact profile: there is no confidentiality or integrity impact, only denial of service via memory exhaustion (CWE-400). The vendor-assigned vector confirms network reachability and low attack complexity, but PR:L means exploitation requires an authenticated account - specifically any user holding the low-privilege Viewer role, which sharply limits the attacker population to those already granted access to the Grafana instance. No EPSS score is provided in the input, the vulnerability is not listed in CISA KEV, and no proof-of-concept or exploit reference is supplied, so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', which is consistent with a credentialed-DoS issue rather than an unauthenticated critical. The signals are internally consistent - there is no CVSS-vs-description conflict here - but note that the only reference is the Grafana advisory URL and no EPSS, KEV, or POC telemetry was provided, so exploitation-likelihood scoring could not be cross-checked against those sources. |
| Exploit ScenarioDerived | An attacker who already holds (or has compromised) a Grafana account with the Viewer role submits a single SQL Expression query that casts a value to an extremely large BINARY length, forcing Grafana to attempt an unbounded memory allocation. The process exhausts available memory and crashes, denying service to all users of that Grafana instance. No public proof-of-concept is referenced, and because low attack complexity applies, the malicious query itself is simple to construct once authenticated access exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
A memory-exhaustion denial of service in Grafana lets an authenticated user holding only the lowest-privilege Viewer role crash the server with a single SQL Expression query that casts a value to an excessively large BINARY length. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 6.5) reflects a remote, low-complexity attack requiring valid credentials and access to the SQL Expressions feature, with no user interaction, and impact confined to availability - no data exposure or modification. Exploitation prerequisites are meaningful: anonymous access is not a path, so only instances where Viewer-level accounts can reach SQL Expressions are exposed, and no public exploit code or CISA KEV entry was identified at time of analysis.
RemediationAI
The provided data lists no patched version, so treat https://grafana.com/security/security-advisories/cve-2026-107509 as the authoritative source for the fixed release and upgrade as soon as the vendor-released version is confirmed for your branch; this is a moderate-priority item (priority label: this_month) rather than an emergency. Until upgraded, address the two prerequisites the assessment identifies rather than the query payload itself: remove the Viewer role from untrusted or self-registered users and reserve it for identities that genuinely need read-only dashboard access, and restrict availability of the SQL Expressions feature to trusted operators (or disable the expression/transformation functionality entirely where it is not needed), accepting that dashboards and alert rules which depend on SQL Expressions will stop evaluating. Because a single query is sufficient once both prerequisites hold, per-request rate limiting or query timeouts alone will not reliably prevent the memory allocation from being attempted. Monitoring Grafana process memory for sudden spikes and restarting on OOM provides at best a detection-and-recovery backstop, not prevention.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-400, Uncontrolled Resource Consumption. Grafana's SQL Expressions feature evaluates SQL-style expressions server-side as part of its transformation pipeline, and an expression may include a CAST of a value to BINARY with a length chosen by the query author. The allocation is sized from that user-supplied length without an effective upper bound, so a single expression causes the Grafana process to request an arbitrarily large block of memory and be terminated when allocation fails or the OOM killer intervenes. Because the attacker never needs write access or administrative rights, the vulnerability effectively converts the read-only Viewer role - normally the safest role in a Grafana deployment - into a denial-of-service primitive wherever SQL Expressions are reachable by low-privilege accounts. The trigger is not described in the available sources beyond the crafted CAST; the supplied assessment does not identify a race, timing dependency, or multi-request grooming requirement, and CVSS AC:L is consistent with a single-query trigger.
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:N/I:N/A:H
Network-reachable query interface (AV:N) with simple crafted query (AC:L) but requires an authenticated Viewer account (PR:L); impact is crash-only, so C:N/I:N/A:H.
Primary rating from Vendor (grafana).
CVSS VectorVendor: grafana
DescriptionCVE.org
A user with the Viewer role can make Grafana allocate an unbounded amount of memory, and crash it, with a single SQL Expression query that casts a value to a very large BINARY length (memory allocation with excessive size value).
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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
EUVD-2026-123540
GHSA-m4q8-hj9q-f2mg
NVD
CVE.org
EPSS
VulDB
Exploit-DB