Vulnerabilities · 2024 · Grafana
CVE-2024-9264
Grafana vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Grafana runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- grafana.com/security/security-advisories/cve-2024-9264/ · Vendor Advisory
- security.netapp.com/advisory/ntap-20250314-0007/
- nvd.nist.gov/vuln/detail/CVE-2024-9264
- grafana.com/security/security-advisories/cve-2024-9264
- github.com/grafana/grafana/pull/81666
- grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-92
- security.netapp.com/advisory/ntap-20250314-0007
- github.com/advisories/GHSA-q99m-qcv4-fpm7
- nvd.nist.gov/vuln/detail/CVE-2024-9264
- cve.org/CVERecord?id=CVE-2024-9264
More vulnerabilities in Grafana products
CVE-2025-41115CVE-2025-4123CVE-2024-10452CVE-2024-8996CVE-2024-8975CVE-2024-5526CVE-2024-1442CVE-2023-22462All 84
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.