CVE-2024-9264
CVE-2024-9264 — 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 Updated Sources: NVD, Grafana (CNA), GitHub, GitHub Security Advisory, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
98%
top of FIRST's scoreset
CVSS base
8.8
high · 3 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade github.com/grafana/grafana to 11.0.6+security-01 or later (go advisory GHSA-q99m-qcv4-fpm7).
Red Hat VEX · CVE-2024-9264
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Grafana | Grafana | 11.0.0 to < 11.0.5 | Vulnerable |
| Grafana | Grafana | 11.1.0 to < 11.1.6 | Vulnerable |
| Grafana | Grafana | 11.2.0 to < 11.2.1 | Vulnerable |
| Grafana | Grafana | 11.0.0 to < 11.0.6 | Vulnerable |
| Grafana | Grafana | 11.1.0 to < 11.1.7 | Vulnerable |
| Grafana | Grafana | 11.2.0 to < 11.2.2 | Vulnerable |
| Go | github.com/grafana/grafana | >= 11.0.0, <= 11.0.6 | Vulnerable |
| Go | github.com/grafana/grafana | >= 11.1.0, <= 11.1.7 | Vulnerable |
| Go | github.com/grafana/grafana | >= 11.2.0, <= 11.2.2 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.9 | CVSS 3.1 | critical | 3.1 | 6 | grafana.com (CNA), Grafana (CNA), GHSA, Red Hat (VEX) |
| 8.8 | CVSS 3.1 | high | 2.8 | 5.9 | NVD |
| 9.4 | CVSS 4.0 | critical | n/a | n/a | Grafana (CNA) |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- Execute Unauthorized Code or Commands
Mitigation: If at all possible, use library calls rather than external processes to recreate the desired functionality.
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
Weakness & attack patterns
- CWE-94Code Injection
- CWE-77Command Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
70
2 of the 5 sampled are weaponized
Exploit entries
7
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
🚨 CVE-2024-9264: Critical 9.9 CVSS Grafana Command Injection & LFI via DuckDB https://t.co/Ty9ELfD9dO #Cybersecurity #Infosec #AppSec #RCE #CommandInjection #LFI #Grafana #DuckDB #CVE20249264 #PoC #EthicalHacking #BugBounty #PatchNow https://t.co/H22ru9bVoc
@r0otk3r· Jul 12, 2026
🚨CVE-2024-9264: Critical RCE in Grafana 11 via DuckDB SQL Injection #CVE20249264 #Grafana #PoC #RCE #BugBounty #CyberSecurityNews #DuckDB https://t.co/BnMnWrDPng
@r0otk3r· Mar 11, 2026
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Grafana, Github.com/grafana/grafana.
- Monitor for scanner or exploit-pattern traffic after 77 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip43.153.76.2468
Abuse.ch-ThreatFox-C&Cs · Apr 15, 2026
- ip165.232.144.23367
AbuseIPDB Hourly Update · Nov 7, 2026
- ip118.195.156.1665
AbuseIPDB Hourly Update · Jan 29, 2026
- ip43.157.108.3980
iocradar0-netizen - Dataset-Valid · Sep 30, 2026
- ip103.56.148.1085
AbuseIPDB Hourly Update · Nov 5, 2025
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 8.8 (AV:N)
Nov 4, 2026 · NVD
Cve is exploited ozcanpng/CVE-2024-9264
Jul 23, 2026 · SOCRadar CTI
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Cve is exploited patrickpichler/grafana-CVE-2024-9264
Jul 21, 2025 · SOCRadar CTI
- 2024
Initial · CVE published
Oct 18, 2024 · NVD
Added · GHSA-q99m-qcv4-fpm7 published (critical)
Oct 18, 2024 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 24×SVRS was changedJul 14, 2025 – Jul 11, 2026 · SOCRadar CTI
- 8×Tweets · 1 time tweeted.Sep 14, 2025 – Jul 13, 2026 · SOCRadar CTI
- 4×Github ReposJul 21, 2025 – Jul 22, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Jul 1, 2026 · SOCRadar CTI
References
9 on the record
- grafana.com/security/security-advisories/cve-2024-9264/
Vendor Advisory, NIST
- security.netapp.com/advisory/ntap-20250314-0007/
Vendor Advisory, NIST
- nvd.nist.gov/vuln/detail/CVE-2024-9264
NVD
- github.com/grafana/grafana/pull/81666
Exploit, Third Party Advisory
- grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264
Vendor Advisory
- github.com/advisories/GHSA-q99m-qcv4-fpm7
Exploit, Third Party Advisory
- access.redhat.com/security/cve/CVE-2024-9264
Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2316409
Vendor Advisory
Coverage
2 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2021-39226 Snapshot authentication bypass in grafanaCVSS 7.3 · CISA KEV
- CVE-2021-43798 Grafana path traversalCVSS 5.0 · CISA KEV
- CVE-2025-41115 Incorrect privilege assignmentCVSS 9.8
- CVE-2026-27876 RCE on Grafana via sqlExpressionsCVSS 9.1
- CVE-2025-4123 A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirectCVSS 6.1
- CVE-2026-105134 Ahsay AhsayCBS Replication Receiver UpdateReceivers.do os command injectionCVSS 10.0 · CISA KEV
Elsewhere on this site
- Grafanaevery CVE for this vendor
- Goevery CVE for this vendor
- Grafanaevery page on this product
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2024-9264 is Grafana SQL Expressions allow for remote code execution, a high vulnerability affecting Grafana, Github.com/grafana/grafana from Grafana, Go. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 77 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.8 describes technical severity, while EPSS 98% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.