Critical severity9.9NVD Advisory· Published Oct 18, 2024· Updated Jun 17, 2026
CVE-2024-9264
CVE-2024-9264
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/grafana/grafanaGo | >= 11.0.0, < 11.0.6+security-01 | 11.0.6+security-01 |
github.com/grafana/grafanaGo | >= 11.1.0, < 11.1.7+security-01 | 11.1.7+security-01 |
github.com/grafana/grafanaGo | >= 11.2.0, < 11.2.2+security-01 | 11.2.2+security-01 |
Affected products
41- osv-coords39 versionspkg:apk/chainguard/grafana-11.0pkg:apk/chainguard/grafana-fips-11.0pkg:apk/chainguard/grafana-fips-11.0-oci-compatpkg:apk/chainguard/grafana-fips-11.6pkg:apk/chainguard/grafana-fips-12.1pkg:apk/chainguard/grafana-fips-12.2pkg:apk/chainguard/grafana-fips-12.3pkg:apk/chainguard/grafana-fips-12.4pkg:apk/chainguard/grafana-fips-13.0pkg:apk/chainguard/grafana-fips-13.1pkg:apk/chainguard/grafana-oci-compatpkg:apk/wolfi/grafana-11.0pkg:apk/wolfi/grafana-oci-compatpkg:bitnami/grafanapkg:golang/github.com/grafana/grafanapkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/grafana&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/grafana&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/prometheus-blackbox_exporter&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/golang-github-prometheus-alertmanager&distro=SUSE%20Manager%20Client%20Tools%2012pkg:rpm/suse/golang-github-prometheus-node_exporter&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/golang-github-prometheus-node_exporter&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/golang-github-prometheus-node_exporter&distro=SUSE%20Manager%20Client%20Tools%2012pkg:rpm/suse/golang-github-prometheus-prometheus&distro=SUSE%20Manager%20Client%20Tools%2012pkg:rpm/suse/golang-github-prometheus-prometheus&distro=SUSE%20Manager%20Client%20Tools%2015pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Package%20Hub%2012pkg:rpm/suse/grafana&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/grafana&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7pkg:rpm/suse/grafana&distro=SUSE%20Manager%20Client%20Tools%2012pkg:rpm/suse/grafana&distro=SUSE%20Manager%20Client%20Tools%2015pkg:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Client%20Tools%2012pkg:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Client%20Tools%2015pkg:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Client%20Tools%20for%20SLE%20Micro%205pkg:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Proxy%20Module%204.3pkg:rpm/suse/release-notes-susemanager&distro=SUSE%20Manager%20Server%204.3
< 11.0.7-r0+ 38 more
- (no CPE)range: < 11.0.7-r0
- (no CPE)range: < 11.0.7-r0
- (no CPE)range: < 11.0.7-r0
- (no CPE)range: < 0
- (no CPE)range: < 12.1.10.01-r3
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 13.1.0-r0
- (no CPE)range: < 11.0.7-r0
- (no CPE)range: < 11.0.7-r0
- (no CPE)range: < 11.0.7-r0
- (no CPE)range: >= 11.0.0, < 11.2.2
- (no CPE)range: >= 11.0.0, < 11.0.6+security-01
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241030T212825-1.1
- (no CPE)range: < 11.5.5-150200.3.72.2
- (no CPE)range: < 11.3.0-1.1
- (no CPE)range: < 0.26.0-150000.1.27.1
- (no CPE)range: < 0.26.0-1.31.2
- (no CPE)range: < 1.9.1-1.36.2
- (no CPE)range: < 1.9.1-1.36.2
- (no CPE)range: < 1.9.1-1.36.2
- (no CPE)range: < 2.53.4-1.60.2
- (no CPE)range: < 2.53.4-150000.3.62.2
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241030T212825-150000.1.9.1
- (no CPE)range: < 0.0.20241104T154416-5.1
- (no CPE)range: < 11.5.5-150200.3.72.2
- (no CPE)range: < 11.5.5-150200.3.72.2
- (no CPE)range: < 11.5.5-1.79.2
- (no CPE)range: < 11.5.5-150000.1.79.1
- (no CPE)range: < 0.26.0-1.27.1
- (no CPE)range: < 0.26.0-150000.1.27.1
- (no CPE)range: < 0.26.0-150000.1.27.1
- (no CPE)range: < 0.26.0-150000.1.27.1
- (no CPE)range: < 4.3.15.2-150400.3.133.1
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-q99m-qcv4-fpm7ghsaADVISORY
- grafana.com/security/security-advisories/cve-2024-9264/nvdVendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-9264ghsaADVISORY
- github.com/grafana/grafana/pull/81666ghsaWEB
- grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264ghsaWEB
- grafana.com/security/security-advisories/cve-2024-9264ghsaWEB
- security.netapp.com/advisory/ntap-20250314-0007ghsaWEB
- security.netapp.com/advisory/ntap-20250314-0007/nvd
News mentions
0No linked articles in our index yet.