---
cve: "CVE-2024-9264"
severity: "CRITICAL"
cvss: 9.4
epss: "94.6%"
vendor: "Grafana"
kev: false
exploited: false
published: "2024-10-18 04:15:04"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-07T00:35:20+02:00"
---

# CVE-2024-9264

> 9.4 CRITICAL

## Beschreibung

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.

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 0421a8911cfc05a46c516fd9d033a51e52e51afe (Commit)
- 6c4158b30465e78c0a4a222f27e020b9c3073afb (Commit)

## Referenzen

- <https://grafana.com/security/security-advisories/cve-2024-9264/>
- <https://security.netapp.com/advisory/ntap-20250314-0007/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-9264) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
