CVE-2024-9264 - CVE House
Back to Database
Status published Critical CVE-2024-9264

Grafana SQL Expressions allow for remote code execution

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-9264

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Grafana
Vulnerable Versions:
11.0.0, 11.1.0, 11.2.0

Timeline

Official Publish: October 18th, 2024
Last Modified: March 14th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weaknesses (CWE)