CVE-2024-9264

Publication date 18 October 2024

Last updated 24 June 2025


Ubuntu priority

Cvss 3 Severity Score

9.9 · Critical

Score breakdown

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.

Status

Package Ubuntu Release Status
grafana 26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial Ignored end of ESM support, was needs-triage

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.9 · Critical

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


Access our resources on patching vulnerabilities