cve.bz

CVE-2024-9264

9.4 criticalEPSS 98%

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.

Severity

CVSS 4.0

9.4 critical
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

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
98% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CWEs
CWE-77, CWE-94
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q99m-qcv4-fpm7Gogithub.com/grafana/grafana>=11.0.0 <11.0.6+security-0111.0.6+security-01
GHSA-q99m-qcv4-fpm7Gogithub.com/grafana/grafana>=11.1.0 <11.1.7+security-0111.1.7+security-01
GHSA-q99m-qcv4-fpm7Gogithub.com/grafana/grafana>=11.2.0 <11.2.2+security-0111.2.2+security-01
GO-2024-3215Gogithub.com/grafana/grafanaall versionsno fix published

References

Check your stackJSON