Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2024-9264
VULNERABILITY

CVE-2024-9264

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.4
Severity
CRITICAL
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Oct 18, 2024 04:15
Modified
Nov 4, 2026 01:17
Last observed
Nov 3, 2026 21:00

CWE

CWE-94CWE-77

Affected product identifiers

cpe:2.3:a:grafana:grafana:11.0.0:*:*:*:*:*:*:*

References