CVE Feed
9.4 Critical

The SQL Expressions experimental feature of Grafana allows for the evaluation of duckdb queries containing user input.

CVE-2024-9264

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.

A ready-made exploit module exists

Metasploit · Public PoC · Nuclei template

A Nuclei detection template exists for this, which means it is scanned for at internet scale rather than looked for deliberately.

Signals come from Exploit-DB, Metasploit, Nuclei and published proof-of-concept repositories. Their absence means nothing was found, not that nothing exists.

Assessment

CVSS
9.4 (v4.0)
Severity
Critical
EPSS
97.55% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Metasploit, Public PoC, Nuclei template
Published
18 October 2024
Last updated
4 November 2026
Affected
Grafana · Grafana
Assigner
GRAFANA

CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2024-9264