What’s Vulnerable › Vulnerabilities
CVE-2024-9264: Grafana SQL Expressions allow for remote code execution
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 97.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-18 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
- Grafana: 11.0.0
In the news
References
- https://grafana.com/security/security-advisories/cve-2024-9264/
- https://security.netapp.com/advisory/ntap-20250314-0007/
Get alerted when CVE-2024-9264 or the next vulnerability affects your stack