CVE-2024-9264
highpriority · attend · 79EPSS 0.971 · 100 %ileexploit · weaponizedDEEURUUSEPSS · scored 2026-10-23
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedgovulncheck-vulndb-0.0.20241030T212825-150000.1.9.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP5suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedgovulncheck-vulndb-0.0.20241030T212825-150000.1.9.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP6suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedgovulncheck-vulndb-0.0.20241030T212825-150000.1.9.1.noarch as component of openSUSE Leap 15.5suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedgovulncheck-vulndb-0.0.20241030T212825-150000.1.9.1.noarch as component of openSUSE Leap 15.6suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedballuff_psirt
Update to the firmware version 2.4.1.
- Fixedgovulncheck-vulndb-0.0.20241104T154416-5.1.noarch as component of SUSE Package Hub 12suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.8–9.9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (15)
Public proof-of-concept and weaponised exploit code.
- Exerrdev/CVE-2024-9264-FixedExerrdev/CVE-2024-9264-FixedPoC · poc_in_github
- Royall-Researchers/CVE-2024-9264Royall-Researchers/CVE-2024-9264PoC · poc_in_github
affected products (37)
Products and version ranges known to be affected.
- Firmware 2.4.1 installed on BAV MA-NC-00025-01all versionsfixedballuff_psirtDEcpe:2.3:o:balluff_gmbh:BAV_MA-NC-00025-01_firmware:2.4.1:*:*:*:*:*:*:*
- Firmware 2.4.1 installed on BNI EGW-720-007-K095all versionsfixedballuff_psirtDEcpe:2.3:o:balluff_gmbh:BNI_EGW-720-007-K095_firmware:2.4.1:*:*:*:*:*:*:*
- Firmware <2.4.1 installed on BAV MA-NC-00025-01all versionsballuff_psirtDEcpe:2.3:o:balluff_gmbh:BAV_MA-NC-00025-01_firmware:*:*:*:*:*:*:*:*
- Firmware <2.4.1 installed on BNI EGW-720-007-K095all versionsballuff_psirtDEcpe:2.3:o:balluff_gmbh:BNI_EGW-720-007-K095_firmware:*:*:*:*:*:*:*:*
advisories (7)
Vendor and ecosystem advisories describing this.
- SUSE-SU-2024:3911-1Security update for govulncheck-vulndb2024-11-05csaf · suse_csafDE
Security update for govulncheck-vulndb
- VDE-2026-049Balluff GmbH: Multiple Vulnerabilities Affecting BNI EGW-720-007-K095 and BAV MA-NC-00025-012026-06-30csaf · balluff_psirtDE
Security advisory for Balluff BNI EGW-720-007-K095 and BAV MA-NC-00025-01 firmware versions prior to 2.4.1. This advisory covers multiple vulnerabilities affecting software components used by the device firmware.
- WID-SEC-W-2024-3238Grafana: Schwachstelle ermöglicht CodeausführungDeutsch2024-10-17csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Grafana ausnutzen, um beliebigen Programmcode auszuführen.
- openSUSE-SU-2024:0350-1Security update for govulncheck-vulndb2024-11-05csaf · suse_csafDE
Security update for govulncheck-vulndb
- GHSA-q99m-qcv4-fpm7Grafana Command Injection And Local File Inclusion Via Sql Expressions2024-10-18ghsa · osvUS
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.
- BIT-grafana-2024-9264Grafana SQL Expressions allow for remote code execution2024-10-22vendor · osvUS
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.
- GO-2024-3215Grafana Command Injection And Local File Inclusion Via Sql Expressions in github.com/grafana/grafana2024-10-28vendor · osvUS
Grafana Command Injection And Local File Inclusion Via Sql Expressions in github.com/grafana/grafana. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/grafana/grafana from v11.0.0 before v11.0.6+security-01, from v11.1.0 before v11.1.7+security-01, from v11.2.0 before v11.2.2+security-01.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202410-1891cnnvd
- EUVD-2024-3110enisa_euvd
- BDU:2024-08254fstec_bdu
- GHSA-q99m-qcv4-fpm7enisa_euvd
- BIT-grafana-2024-9264osv
- GHSA-q99m-qcv4-fpm7osv
- GO-2024-3215osv
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-9264cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-9264/cnnvd
- https://grafana.com/security/security-advisories/cve-2024-9264/cnnvd
- https://vigilance.fr/vulnerability/Grafana-SQL-injection-via-SQL-Expressions-45429cnnvd
- https://grafana.com/security/security-advisories/cve-2024-9264/enisa_euvd
- https://grafana.com/security/security-advisories/cve-2024-9264/Vendor Advisorynvd
- https://security.netapp.com/advisory/ntap-20250314-0007/nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan