CVE-2024-9264
published critical CVSS 4.0 · 9.4Grafana SQL Expressions allow for remote code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Grafana | — | Grafana11.0.0 to < 11.0.5 (affected · semver); changes: unaffected at +security-01 · 11.1.0 to < 11.1.6 (affected · semver); changes: unaffected at +security-01 · 11.2.0 to < 11.2.1 (affected · semver); changes: unaffected at +security-01 · 11.0.0 to < 11.0.6 (affected · semver); changes: unaffected at +security-01 · 11.1.0 to < 11.1.7 (affected · semver); changes: unaffected at +security-01 · 11.2.0 to < 11.2.2 (affected · semver); changes: unaffected at +security-01 · Other versions: unaffected | Version-specific | Not stated | GRAFANA |
| grafana | — | grafana11.0.0 to < 11.0.5\+security-01 · 11.0.6 to < 11.0.6\+security-01 · 11.1.0 to < 11.1.6\+security-01 · 11.1.7 to < 11.1.7\+security-01 · 11.2.0 to < 11.2.1\+security-01 · 11.2.2 to < 11.2.2\+security-01 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| Alpine Linux | v3.20 | grafana | Fixed | 11.0.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP6 | grafanaaarch64 | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | SLE-15-SP6 | grafanappc64le | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | SLE-15-SP6 | grafanas390x | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | SLE-15-SP6 | grafanax86_64 | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | SLE-15-SP7 | grafanaaarch64 | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | grafanappc64le | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | SLE-15-SP7 | grafanas390x | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | SLE-15-SP7 | grafanax86_64 | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanaaarch64 | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanappc64le | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanas390x | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanax86_64 | Advisory build | 11.5.5-150200.3.72.2 | SUSE-SU-2025:01991-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanaaarch64 | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanappc64le | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanas390x | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanax86_64 | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanaaarch64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2024:14431-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanappc64le | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2024:14431-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanas390x | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2024:14431-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanax86_64 | Advisory build | 11.3.0-1.1 | OPENSUSE-SU-2024:14431-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.9.1-1.36.2 | SUSE-SU-2025:01987-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.9.1-1.36.2 | SUSE-SU-2025:01987-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporters390x | Advisory build | 1.9.1-1.36.2 | SUSE-SU-2025:01987-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.9.1-1.36.2 | SUSE-SU-2025:01987-1 |
| SUSE / openSUSE | SLE-15-SP5 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
| SUSE / openSUSE | SLE-15-SP6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporteraarch64 | Advisory build | 0.26.0-150000.1.27.1 | SUSE-SU-2025:01989-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporterppc64le | Advisory build | 0.26.0-150000.1.27.1 | SUSE-SU-2025:01989-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporters390x | Advisory build | 0.26.0-150000.1.27.1 | SUSE-SU-2025:01989-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporterx86_64 | Advisory build | 0.26.0-150000.1.27.1 | SUSE-SU-2025:01989-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20241030T212825-1.1 | OPENSUSE-SU-2024:14447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20241030T212825-1.1 | OPENSUSE-SU-2024:14447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20241030T212825-1.1 | OPENSUSE-SU-2024:14447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20241030T212825-1.1 | OPENSUSE-SU-2024:14447-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GRAFANA · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.9 | critical | GRAFANA · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Grafana | Grafana | 11.0.0 to < 11.0.5 (affected · semver); changes: unaffected at +security-0111.1.0 to < 11.1.6 (affected · semver); changes: unaffected at +security-0111.2.0 to < 11.2.1 (affected · semver); changes: unaffected at +security-0111.0.0 to < 11.0.6 (affected · semver); changes: unaffected at +security-0111.1.0 to < 11.1.7 (affected · semver); changes: unaffected at +security-0111.2.0 to < 11.2.2 (affected · semver); changes: unaffected at +security-01Default: unaffected | GRAFANA · cna |
| grafana | grafana | 11.0.0 to < 11.0.5\+security-01 (affected · semver)11.0.6 to < 11.0.6\+security-01 (affected · semver)11.1.0 to < 11.1.6\+security-01 (affected · semver)11.1.7 to < 11.1.7\+security-01 (affected · semver)11.2.0 to < 11.2.1\+security-01 (affected · semver)11.2.2 to < 11.2.2\+security-01 (affected · semver)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
2Provider assertions
3GRAFANA · cna
Grafana SQL Expressions allow for remote code execution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b60310f5a9d388aff99d952132e4e4af9e161d5bf1da678fb97ec6441ceea570
- Ingested
- 04 Nov 2026, 00:37:14 UTC
- Source record
- Official CVE record