Security mailing lists by PureSourceCode

CVE-2024-9264

CRITICAL 9.4CVSS 4.0

Grafana Command Injection And Local File Inclusion Via Sql Expressions

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.

Published
18 Oct 2024
Last modified
4 Nov 2026
Assigned by
security@grafana.com
NVD status
Modified
Weakness
CWE-77CWE-94
Also known as
BIT-grafana-2024-9264GHSA-q99m-qcv4-fpm7GO-2024-3215
Sources
NVDJSONOSV GHSA-q99m-qcv4-fpm7JSONOSV GO-2024-3215JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@grafana.com (Secondary) CVSS 4.0 CRITICAL 9.4 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD security@grafana.com (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD grafana grafana
cpe:2.3:a:grafana:grafana:11.0.0:*:*:*:*:*:*:*
= 11.0.0
OSV Go github.com/grafana/grafana >= 11.0.0, < 11.0.6+security-01 11.0.6+security-01
OSV Go github.com/grafana/grafana >= 11.1.0, < 11.1.7+security-01 11.1.7+security-01
OSV Go github.com/grafana/grafana >= 11.2.0, < 11.2.2+security-01 11.2.2+security-01
OSV Go github.com/grafana/grafana all versions

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 18 Oct 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Oct 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.