Vulnerability detail
Enriched intelligence for a single CVE
Critical
CVE-2024-9264
PUBLISHEDGrafana SQL Expressions allow for remote code execution
- Vendor
- Grafana
- Product
- Grafana
- Published
- Oct 18, 2024
- EPSS
- 92.1% · 100% pctl
Automate this intelligence with the Pro API
Everything on this page — CVSS, EPSS, exploit status, PoCs, scanner integrations, mentions, tags, and immediate honeypot data — is available programmatically for VM, SOC, and CTI workflows.
Description
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.
Weaknesses (CWE)
-
Improper Control of Generation of Code ('Code Injection')
CVSS scores
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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Exploitation status
Proof of concept available
Recorded 2024-10-20 01:13:37 UTC · GitHub
Known exploited vulnerability sources
Catalogues that list this CVE as a known exploited vulnerability.
| Source | Added |
|---|---|
| The Shadowserver (via CIRCL) First | 2025-05-20 19:38 UTC |
Scanner integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-9264.yaml | Apr 25, 2025 |
Potential proof of concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2024-10-21 03:36:05 UTC · 15 stars
Grafana RCE exploit (CVE-2024-9264)
github · Created 2024-10-20 01:13:37 UTC · 6 stars
File Read Proof of Concept for CVE-2024-9264
github · Created 2024-10-19 13:50:52 UTC · 91 stars
Exploit for Grafana arbitrary file-read and RCE (CVE-2024-9264)
Timeline
-
CVE ID Reserved
-
CVE Published to Public
-
Proof of Concept Exploit Available
-
Detected by Nuclei
-
Added to KEVIntel