CVE-2024-9264
highThe SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input.
Vendor / product: Grafana — grafana
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://grafana.com/security/security-advisories/cve-2024-9264/ security@grafana.com
- https://security.netapp.com/advisory/ntap-20250314-0007/ af854a3a-2127-422b-91ae-364da2661108

