Home / Grafana / Grafana / CVE-2024-9264
CVE-2024-9264: is it exploited, and which versions of Grafana are affected and fixed?
CVE-2024-9264 is a code injection (remote code execution) vulnerability in Grafana. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: github.com/grafana/grafana from 11.0.0 before 11.0.6+security-01, github.com/grafana/grafana from 11.1.0 before 11.1.7+security-01 and github.com/grafana/grafana from 11.2.0 before 11.2.2+security-01 (GitHub advisory GHSA-q99m-qcv4-fpm7). Fixed in 11.0.6+security-01, 11.1.7+security-01 and 11.2.2+security-01 (GitHub advisory GHSA-q99m-qcv4-fpm7). Severity: Critical (9.4, CVSS 4.0, from GRAFANA).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-9264?
Grafana SQL Expressions allow for remote code execution
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.
From the CVE record by GRAFANA, last updated November 4, 2026, 00:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Grafana | Grafana | from 11.0.0 before 11.0.5 from 11.1.0 before 11.1.6 from 11.2.0 before 11.2.1 from 11.0.0 before 11.0.6 from 11.1.0 before 11.1.7 from 11.2.0 before 11.2.2 | 11.0.5, +security-01, 11.1.6, 11.2.1, 11.0.6, 11.1.7, 11.2.2 |
As the CVE record by GRAFANA states it, last updated November 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/grafana/grafana | >= 11.0.0, < 11.0.6+security-01 | 11.0.6+security-01 | GHSA-q99m-qcv4-fpm7 |
| Go | github.com/grafana/grafana | >= 11.1.0, < 11.1.7+security-01 | 11.1.7+security-01 | GHSA-q99m-qcv4-fpm7 |
| Go | github.com/grafana/grafana | >= 11.2.0, < 11.2.2+security-01 | 11.2.2+security-01 | GHSA-q99m-qcv4-fpm7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 14, 2025. Summary: Grafana Command Injection And Local File Inclusion Via Sql Expressions.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| grafana | grafana | 11.0.0 | application |
NVD analysis (status Modified), last modified November 4, 2026, 01:17 UTC.
How severe is CVE-2024-9264?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.4 | CVSS 4.0 | 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 | GRAFANA |
| Critical 9.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | GRAFANA |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-9264 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, November 1, 2024)
- EPSS
- 97.6% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://grafana.com/security/security-advisories/cve-2024-9264/
- https://security.netapp.com/advisory/ntap-20250314-0007/
When was it published, and where is the official record?
- Reserved
- September 26, 2024
- Published
- October 18, 2024, 03:20 UTC
- CVE record updated
- November 4, 2026, 00:11 UTC by GRAFANA
- NVD
- Modified, last modified November 4, 2026, 01:17 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Grafana?
- Dec 7, 2021CVE-2021-43798 grafana: path traversal (reading or writing files outside the intended folder) exploited
- Oct 5, 2021CVE-2021-39226 grafana: authentication bypass (improper authentication) exploited
- Mar 27, 2026CVE-2026-27879 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-28375 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-27876 Grafana: code injection (remote code execution)
- Mar 27, 2026CVE-2026-27880 Grafana: out-of-bounds read
- Mar 27, 2026CVE-2026-27877 Grafana: sensitive data stored in clear text
- Feb 25, 2026CVE-2026-21725 Grafana: time-of-check time-of-use race condition
Questions about CVE-2024-9264
Is CVE-2024-9264 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 97.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Grafana are affected by CVE-2024-9264?
github.com/grafana/grafana from 11.0.0 before 11.0.6+security-01, github.com/grafana/grafana from 11.1.0 before 11.1.7+security-01 and github.com/grafana/grafana from 11.2.0 before 11.2.2+security-01, per the GitHub advisory GHSA-q99m-qcv4-fpm7. The tables above give every range the sources list.
Which version fixes CVE-2024-9264?
11.0.6+security-01, 11.1.7+security-01 and 11.2.2+security-01, per the GitHub advisory GHSA-q99m-qcv4-fpm7. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-9264?
Critical (9.4, CVSS 4.0, from GRAFANA). The severity table above shows each score with its source.
Where is the official record of CVE-2024-9264?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.