Home

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.

PUBLISHED Reserved 2024-09-26 | Published 2024-10-18 | Updated 2025-03-14 | Assigner GRAFANA




CRITICAL: 9.4CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CRITICAL: 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

Default status
unaffected

11.0.0 (semver) before 11.0.5
affected

11.1.0 (semver) before 11.1.6
affected

11.2.0 (semver) before 11.2.1
affected

11.0.0 (semver) before 11.0.6
affected

11.1.0 (semver) before 11.1.7
affected

11.2.0 (semver) before 11.2.2
affected

References

security.netapp.com/advisory/ntap-20250314-0007/

grafana.com/security/security-advisories/cve-2024-9264/

cve.org (CVE-2024-9264)

nvd.nist.gov (CVE-2024-9264)

Download JSON