RCE in Grafana
CVE-2024-9264
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.971 (99.9th percentile), scored .
Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 99.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.949 · newest: 0.971 · change: +0.023
Affected products
- Grafana — versions 11.0.0, 11.1.0, 11.2.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-9264?
- CVE-2024-9264 is a critical-severity vulnerability in Grafana, classified under Code Injection. CVSS score: 9.9/10. Published 2024-10-18.
- How severe is CVE-2024-9264?
- Critical severity. CVSS v3 base score is 9.9 out of 10.
- Is CVE-2024-9264 known to be exploited?
- 58 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.