Grafana SQL Expressions allow for remote code execution
The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input. These queries are insufficiently sanitized before being passed to `duckdb`, leading to a command injection and local file inclusion vulnerability. Any user with the VIEWER or higher permission is capable of executing this attack. The `duckdb` binary must be present in Grafana's $PATH for this attack to function; by default, this binary is not installed in Grafana distributions.
- Published
- Oct 18, 2024
- Updated
- Jun 17, 2026
- EPSS
- 94.9% · 100th percentile
- CWE
- CWE-94
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
65
This week
Don’t wait for the next maintenance window.
- CVSS
- 37 / 40 · 9.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 28 / 30 · 94.9%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GRAFANA
- 9.4
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| grafana | grafana | cpe:2.3:a:grafana:grafana |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- grafana grafana11.0.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GRAFANA). Independent of NVD's CPE analysis and usually ahead of it.
Grafana Grafana
- 11.0.0 and later · before 11.0.5affected · semverfixed in +security-01
- 11.1.0 and later · before 11.1.6affected · semverfixed in +security-01
- 11.2.0 and later · before 11.2.1affected · semverfixed in +security-01
- 11.0.0 and later · before 11.0.6affected · semverfixed in +security-01
- 11.1.0 and later · before 11.1.7affected · semverfixed in +security-01
- 11.2.0 and later · before 11.2.2affected · semverfixed in +security-01
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Go | github.com/grafana/grafana | from 11.0.0 · before 11.0.6+security-01 | 11.0.6+security-01 |
| Go | github.com/grafana/grafana | from 11.1.0 · before 11.1.7+security-01 | 11.1.7+security-01 |
| Go | github.com/grafana/grafana | from 11.2.0 · before 11.2.2+security-01 | 11.2.2+security-01 |
| Go | github.com/grafana/grafana | all versions | — |
| openSUSE:Tumbleweed | grafana | before 11.3.0-1.1 | 11.3.0-1.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | grafana | before 11.5.5-150200.3.72.2 | 11.5.5-150200.3.72.2 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | grafana | before 11.5.5-150200.3.72.2 | 11.5.5-150200.3.72.2 |
| SUSE:Manager Client Tools 12 | golang-github-prometheus-alertmanager | before 0.26.0-1.31.2 | 0.26.0-1.31.2 |
| SUSE:Manager Client Tools 12 | golang-github-prometheus-node_exporter | before 1.9.1-1.36.2 | 1.9.1-1.36.2 |
| SUSE:Manager Client Tools 12 | golang-github-prometheus-prometheus | before 2.53.4-1.60.2 | 2.53.4-1.60.2 |
| SUSE:Manager Client Tools 12 | grafana | before 11.5.5-1.79.2 | 11.5.5-1.79.2 |
| SUSE:Manager Client Tools 12 | prometheus-blackbox_exporter | before 0.26.0-1.27.1 | 0.26.0-1.27.1 |
| SUSE:Manager Client Tools 15 | golang-github-prometheus-prometheus | before 2.53.4-150000.3.62.2 | 2.53.4-150000.3.62.2 |
| SUSE:Manager Client Tools 15 | golang-github-prometheus-prometheus | before 2.53.4-150000.3.62.2 | 2.53.4-150000.3.62.2 |
| SUSE:Manager Client Tools 15 | grafana | before 11.5.5-150000.1.79.1 | 11.5.5-150000.1.79.1 |
| SUSE:Manager Client Tools 15 | grafana | before 11.5.5-150000.1.79.1 | 11.5.5-150000.1.79.1 |
| SUSE:Manager Client Tools 15 | prometheus-blackbox_exporter | before 0.26.0-150000.1.27.1 | 0.26.0-150000.1.27.1 |
| SUSE:Manager Client Tools 15 | prometheus-blackbox_exporter | before 0.26.0-150000.1.27.1 | 0.26.0-150000.1.27.1 |
| SUSE:Manager Server 4.3 | release-notes-susemanager | before 4.3.15.2-150400.3.133.1 | 4.3.15.2-150400.3.133.1 |
Same product
grafana: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-39226Snapshot authentication bypass in grafanaKEV89Now
- CVE-2021-43798Grafana path traversalKEV87Now
- CVE-2020-13379The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue.62This week
- CVE-2018-15727Grafana 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 generate a valid "remember 58Plan
- CVE-2022-31097Stored XSS in Grafana's Unified Alerting55Plan
- CVE-2022-26148An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix.55Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Grafana Grafana | +security-01 | Vendor (CNA) |
| Grafana Grafana | 11.0.5 | Vendor (CNA) |
| Grafana Grafana | 11.0.6 | Vendor (CNA) |
| Grafana Grafana | 11.1.6 | Vendor (CNA) |
| Grafana Grafana | 11.1.7 | Vendor (CNA) |
| Grafana Grafana | 11.2.1 | Vendor (CNA) |
| Grafana Grafana | 11.2.2 | Vendor (CNA) |
| Go:github.com/grafana/grafana | 11.0.6+security-01 | Package registry (OSV) |
| Go:github.com/grafana/grafana | 11.1.7+security-01 | Package registry (OSV) |
| Go:github.com/grafana/grafana | 11.2.2+security-01 | Package registry (OSV) |
| opensuse:grafana | 11.5.5-150200.3.72.2 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:prometheus-blackbox_exporter | 0.26.0-150000.1.27.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:golang-github-prometheus-alertmanager | 0.26.0-1.31.2 · SUSE:Manager Client Tools 12 | Package registry (OSV) |
| suse:golang-github-prometheus-node_exporter | 1.9.1-1.36.2 · SUSE:Manager Client Tools 12 | Package registry (OSV) |
| suse:golang-github-prometheus-prometheus | 2.53.4-1.60.2 · SUSE:Manager Client Tools 12 | Package registry (OSV) |
| suse:golang-github-prometheus-prometheus | 2.53.4-150000.3.62.2 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:grafana | 11.5.5-1.79.2 · SUSE:Manager Client Tools 12 | Package registry (OSV) |
| suse:grafana | 11.5.5-150000.1.79.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:prometheus-blackbox_exporter | 0.26.0-1.27.1 · SUSE:Manager Client Tools 12 | Package registry (OSV) |
| suse:prometheus-blackbox_exporter | 0.26.0-150000.1.27.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:release-notes-susemanager | 4.3.15.2-150400.3.133.1 · SUSE:Manager Server 4.3 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×13
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Nuclei detection template | Nuclei template CVE-2024-9264 | — |
| Proof-of-concept repository on GitHub | stars:131 | 2024-10-19 |
| Proof-of-concept repository on GitHub | stars:8 | 2024-10-20 |
| Proof-of-concept repository on GitHub | stars:38 | 2024-10-21 |
| Proof-of-concept repository on GitHub | stars:3 | 2025-05-31 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-06-15 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-07-05 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-07-05 |
| Proof-of-concept repository on GitHub | stars:2 | 2025-07-07 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-07-21 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-09-13 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-06-29 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1 d
- TodayOct 9, 2026+721 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-27876525 days apartRCE on Grafana via sqlExpressions36Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · disclosure only (VDP) · grafana/grafana
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · disclosure only (VDP)
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1733 · Oct 18, 2024(Grafana Güvenlik Bildirimi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- grafana.com/security/security-advisories/cve-2024-9264/
- security.netapp.com/advisory/ntap-20250314-0007/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.