CVE-2024-9264Grafana
Critical 9.4 High EPSS
Follow: this CVE · Grafana · Grafana We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Grafana.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| grafana | grafana | 11.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- grafana.com Vendor Advisory
- security.netapp.com