Skip to content
Emerging threatsCritical

CVE-2024-9264Grafana Command Injection

Grafana Command Injection And Local File Inclusion Via Sql Expressions

Published Oct 18, 2024 · Updated Nov 5, 2026 · Also known as ALPINE-CVE-2024-9264, BIT-grafana-2024-9264, CGA-299p-4xch-q86m, CGA-4cfc-29gv-fp9j, CGA-4vr9-jfv8-pjmp, CGA-53fx-p9p2-jpvf, CGA-58w4-rm22-94xj, CGA-58xw-w8fq-g2q9, CGA-68j9-3f9c-3f63, CGA-6pqr-w6x6-pchr, CGA-7jfx-q2vm-52rh, CGA-7jr7-222h-g9gw, CGA-8g69-5h68-hx29, CGA-8qx7-wh9f-747f, CGA-8vmj-mw3q-qv8q, CGA-9338-7mm4-grh2, CGA-99mx-5858-9m23, CGA-9fvf-rvjf-29vw, CGA-cjh8-4m7j-jqm3, CGA-cr4c-rmpr-4r3x, CGA-crg5-rg7r-4v84, CGA-f4fc-mqgh-q7j3, CGA-gjvx-vr43-3994, CGA-gx7j-c6mv-vh78, CGA-hq7r-hgvr-7q42, CGA-jvx6-66wm-xvx9, CGA-p797-2jgw-h9jf, CGA-p7jf-325q-99ph, CGA-px9g-jxm3-37jv, CGA-q772-h438-84v5, CGA-qcvq-vmf3-fvpr, CGA-qjxc-7qf2-vgx6, CGA-qrxp-4g23-3wfp, CGA-r3f4-3rww-2rqc, CGA-r7wj-5v8f-8xjm, CGA-rfcr-7fcj-gm3x, CGA-v397-x2w4-7f4r, CGA-v62x-84vj-rp4v, CGA-w2cf-wm7m-v99f, CGA-w58x-j4v2-wjqj, CGA-w5wj-9vfc-g2vm, CGA-w98g-4c2g-m22j, CLEANSTART-2025-OD67243, GHSA-q99m-qcv4-fpm7, GO-2024-3215, MINI-46wj-669r-wqqp, MINI-72gw-xxrx-hqq8, MINI-777w-phrm-h39p, MINI-7pf4-x5fj-gg9x, MINI-9jcp-6jhq-rfwq, MINI-9p88-ch6f-mxx4, MINI-c3xc-54hr-hcr2, MINI-chgp-8xpm-mrm2, MINI-cxf5-f737-259f, MINI-hp3r-mhmp-cm9r, MINI-hqq2-whrr-6hr2, MINI-j5v3-xv6p-wvgr, MINI-m3r5-rwg8-8cwg, MINI-p45f-gm69-5qh4, MINI-pvxh-f4rp-qgrc, MINI-qp4g-xxmm-4m9x, MINI-rmrw-592m-6gpv, TR-24-1733, UBUNTU-CVE-2024-9264

Key Facts

Patch immediately
  • CVE-2024-9264 is a critical-severity vulnerability (CVSS 9.4 v4) affecting Grafana, grafana-11.0 (chainguard), grafana-fips-11.0 (chainguard) and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 66% probability of exploitation in the next 30 days.
  • Fixed versions are available, including firewalld-prometheus-config 0.1-150000.3.62.2, github.com/grafana/grafana 11.0.6+security-01, github.com/grafana/grafana 11.1.7+security-01.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v4

9.4

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

EPSS (30-day exploit likelihood)

66%

Higher than 99.4% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

64/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

94 affected entries in total
ProductAffected versionsFixed in
GrafanaGrafana11.0.0, >= 11.0.011.0.7-r0
grafana-11.0chainguardSee advisory11.0.7-r0
grafana-fips-11.0chainguardSee advisory11.0.7-r0
grafana-fips-11.6chainguardSee advisory0
grafana-fips-12.0chainguardSee advisory12.0.10-r6
20 more affected products in the full CVE brief

Patched Releases

firewalld-prometheus-config

0.1-150000.3.62.2

github.com/grafana/grafana

11.0.6+security-01, 11.1.7+security-01, 11.2.2+security-01

golang-github-prometheus-alertmanager

0.26.0-1.31.2

golang-github-prometheus-node_exporter

1.9.1-1.36.2

golang-github-prometheus-prometheus

2.53.4-1.60.2, 2.53.4-150000.3.62.2

govulncheck-vulndb

0.0.20241030T212825-1.1, 0.0.20241030T212825-150000.1.9.1, 0.0.20241104T154416-5.1

Grafana

11.0.7-r0, 11.2.2, 11.3.0-1.1, 11.5.5-1.79.2, 11.5.5-150000.1.79.1, 11.5.5-150200.3.72.2, 11.6.11-bp160.1.1, 11.0.5, 11.0.6, 11.1.6, 11.1.7, 11.2.1

grafana-11.0

11.0.7-r0

grafana-11.4

11.4.3-r0

grafana-fips-11.0

11.0.7-r0

grafana-fips-12.0

12.0.10-r6

grafana-fips-12.1

12.1.10.01-r3

grafana-fips-13.1

13.1.0-r0

prometheus-blackbox_exporter

0.26.0-1.27.1, 0.26.0-150000.1.27.1

release-notes-susemanager

4.3.15.2-150400.3.133.1

Timeline

  1. Publicly disclosed

    Oct 18, 2024

  2. Last updated

    Nov 5, 2026

Weakness Type

  • CWE-77 Improper Neutralization of Special Elements used in a Command
  • CWE-94 Improper Control of Generation of Code

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-9264 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.