Live threats

All CVEs / Grafana

CVE-2024-9264Grafana

Critical 9.4 High EPSS

Priority
63
CVSS 4.0
9.4
EPSS
66.4%
probability of exploitation in 30 days · percentile 99
Auth required
Yes
Published
Oct 18, 2024
Updated
Nov 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-77
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grafana.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/grafana/grafana ≥ 11.0.0 < 11.0.6+security-01 11.0.6+security-01 go get github.com/grafana/grafana@v11.0.6+security-01
Go github.com/grafana/grafana ≥ 11.1.0 < 11.1.7+security-01 11.1.7+security-01 go get github.com/grafana/grafana@v11.1.7+security-01
Go github.com/grafana/grafana ≥ 11.2.0 < 11.2.2+security-01 11.2.2+security-01 go get github.com/grafana/grafana@v11.2.2+security-01
Go github.com/grafana/grafana all no fixed version —

Per OSV / GitHub Advisories (GHSA-q99m-qcv4-fpm7, GO-2024-3215). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
grafanagrafana11.0.0

Official sources

References

Links published by the sources. Open them with care.