CVE Database
/

CVE-2024-9264

Back to search

CVE-2024-9264

Published: Oct 18, 2024

Modified: Mar 14, 2025

PUBLISHED

CVSS v3.1

9.9

CRITICAL

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.

VendorProductVersions

Grafana

Grafana

affected
11.0.0 - < 11.0.5
affected
11.1.0 - < 11.1.6
affected
11.2.0 - < 11.2.1
affected
11.0.0 - < 11.0.6
affected
11.1.0 - < 11.1.7

+1 more versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Network

Attack Complexity

Low

Privileges Required

Low

User Interaction

None

Scope

Changed

Confidentiality

High

Integrity

High

Availability

High

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now