Vulnerabilities

Vulnerability · CVE-2024-9264

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

Published Oct 18, 2024 · catalog updated Jun 17, 2026 · The SQL Expressions experimental

Last checked Nov 4, 2026. A connected source was read within the last 7 days.

Check this week

CVE-2024-9264 is not in CISA KEV. FIRST estimates a 97.55% chance of exploitation in the next 30 days. Check whether you run The SQL Expressions experimental.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (The SQL Expressions experimental).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Critical9.4
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
97.55%
Remediation
Advisory link
Affected products
cpe grafana/grafana

The SQL Expressions experimental feature of Grafana allows for the evaluation of queries containing user input. These queries are insufficiently sanitized before being passed to , 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 binary must be present in Grafana's $PATH for this attack to function; by default, this binary is not installed in Grafana distributions.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe grafana/grafana11.0.0

How to fix CVE-2024-9264

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2024-9264 is not in CISA KEV. FIRST estimates a 97.55% chance of exploitation in the next 30 days. Check whether you run The SQL Expressions experimental.

Which versions are affected?

Compare what you have installed with 11.0.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-77: Command Injection; CWE-94: Code Injection. EPSS 97.55%. There is no CISA KEV listing. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 18, 2024 · Monitored products — high

    Detected

    The SQL Expressions experimental feature of Grafana allows for the evaluation of queries containing user input. These queries are insufficiently sanitized before being passed to , 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 binary must be present in Grafana's $PATH for this attack to f

  2. Jun 17, 2026 · Monitored products — high

    Updated

    The SQL Expressions experimental feature of Grafana allows for the evaluation of queries containing user input. These queries are insufficiently sanitized before being passed to , 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 binary must be present in Grafana's $PATH for this attack to f

Sources

  • CVE.orgVulnerability recordCVE-2024-9264

    Official CVE identifier

    cve.org
  • Monitored products — highVendor advisoryCVE-2024-9264

    The SQL Expressions experimental feature of Grafana allows for the evaluation of queries containing user input. These queries are insufficiently sanitized before being passed to , 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 binary must be present in Grafana's $PATH for this attack to f

    nvd.nist.gov
  • Metasploit ModulesPublic exploit moduleexploit_multi/http/grafana_sql_expressions_rce_cve_2024_9264

    Public module reference (excellent). Module source is not copied into this catalog.

    rapid7.com

References

Freshness

Last verified in this catalog Nov 2, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • Metasploit ModulesNov 4, 2026
  • CVE.orgNov 4, 2026
  • Monitored products — highNov 2, 2026