Public vulnerability disclosure

CVE-2024-9264

Grafana SQL Expressions allow for remote code execution

publishedCWE-94

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.

Technical severity9.4 criticalCVSS 4.0 · CNA: GRAFANA
Published2024-10-18Source updated 2026-11-03
Collected2026-11-032 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Grafana
Grafana
https://github.com/grafana/grafana/
≥ 11.0.0; < 11.0.5 (affected, semver); unaffected at +security-01
≥ 11.1.0; < 11.1.6 (affected, semver); unaffected at +security-01
≥ 11.2.0; < 11.2.1 (affected, semver); unaffected at +security-01
≥ 11.0.0; < 11.0.6 (affected, semver); unaffected at +security-01
≥ 11.1.0; < 11.1.7 (affected, semver); unaffected at +security-01
≥ 11.2.0; < 11.2.2 (affected, semver); unaffected at +security-01
Other versions: unaffected
CNA: GRAFANA
grafana
grafana
≥ 11.0.0; < 11.0.5\+security-01 (affected, semver)
≥ 11.0.6; < 11.0.6\+security-01 (affected, semver)
≥ 11.1.0; < 11.1.6\+security-01 (affected, semver)
≥ 11.1.7; < 11.1.7\+security-01 (affected, semver)
≥ 11.2.0; < 11.2.1\+security-01 (affected, semver)
≥ 11.2.2; < 11.2.2\+security-01 (affected, semver)
Other versions: unaffected
ADP: CISA-ADP

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 9.4
critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HCNA: GRAFANA
3.1 / 9.9
critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HCNA: GRAFANA

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide