Skip to main content
VulnerabilityPublished Updated

CVE-2024-9264: Grafana · Code Injection

Affects GrafanaSource CVE Database V5

0
Compare

Public exploit available (Metasploit) · 97% EPSS · CVSS 9.4 Critical · fixed in 11.2.2 : patch Grafana as a priority.

Data as of 3 Nov 2026, 22:57 UTC

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GRAFANA)CVSS 4.09.4
CNA (GRAFANA)CVSS 3.19.9
EPSS
97.5% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CISA SSVC
Exploitation
Proof of concept is public or traded
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2024-11-01.

Patch
Available – fixed in 11.2.2, 11.2.1, 11.1.7 +3
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

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 18 Oct 2024

  2. Weaponized: evidence found.

    1 Metasploit module

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by Grafana Labs

    , 22 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. CISA SSVC assessment

    proof of concept public

    , 14 days after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
GrafanaGrafanaAffected
  • =11.0.0
  • =11.1.0
  • =11.2.0
Fixed in
  • 11.2.2
  • 11.2.1
  • 11.1.7
  • 11.1.6
  • 11.0.6
  • 11.0.5
GitHubGrafanapkg:github/GrafanaOther threatsAffected
  • 11.0.0 – 11.2.0
6 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Apply the official fixes by upgrading Grafana to versions 11.0.5, 11.0.6, 11.1.6, 11.1.7, 11.2.1, or 11.2.2. These versions contain patches that address the code injection vulnerability. If upgrading is not immediately possible, restrict user permissions to prevent untrusted users from having VIEWER or higher access. Additionally, ensure the duckdb binary is not present in Grafana's $PATH to reduce attack surface. Since public exploit code exists, timely patching is strongly recommended.

Description

CVE-2024-9264 is a critical code injection vulnerability in Grafana's SQL Expressions experimental feature. It allows users with VIEWER or higher permissions to execute unsanitized duckdb queries, leading to command injection and local file inclusion. The vulnerability requires the duckdb binary to be present in Grafana's $PATH, which is not included by default. Multiple Grafana versions 11.0.0, 11.1.0, and 11.2.0 are affected. Fixed versions include 11.0.5, 11.0.6, 11.1.6, 11.1.7, 11.2.1, and 11.2.2. Public exploit code is available via Metasploit.

References

Community reviews

Loading reviews…