CVE-2024-9264
CVE-2024-9264 is a critical-severity vulnerability in Grafana with a CVSS 3.x base score of 9.9. Its EPSS exploit-prediction score of 98% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-77.
Key facts
- Severity: Critical (CVSS 3.x base score 9.9)
- CVSS v4: 9.4
- EPSS exploit prediction: 98% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-3110
- Weakness: CWE-77
- Affected product: Grafana
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-9264?
- 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.
- How severe is CVE-2024-9264?
- CVE-2024-9264 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-9264 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 98% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-9264?
- CVE-2024-9264 affects Grafana. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-9264?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-9264 have an EU (EUVD) identifier?
- Yes. CVE-2024-9264 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-3110.
- When was CVE-2024-9264 published?
- CVE-2024-9264 was published on 2024-10-18 and last updated on 2026-06-17.
References
- https://grafana.com/security/security-advisories/cve-2024-9264/
- https://security.netapp.com/advisory/ntap-20250314-0007/
Affected products (1)
- cpe:2.3:a:grafana:grafana:11.0.0:*:*:*:*:*:*:*
More vulnerabilities in Grafana
- CVE-2025-41115 — Critical (CVSS 10.0): SCIM provisioning was introduced in Grafana Enterprise and Grafana Cloud in April to improve how organizations manage…
- CVE-2022-39328 — Critical (CVSS 9.8): Grafana is an open-source platform for monitoring and observability. Versions starting with 9.2.0 and less than 9.2.4…
- CVE-2022-28660 — Critical (CVSS 9.8): The querier component in Grafana Enterprise Logs 1.1.x through 1.3.x before 1.4.0 does not require authentication when…
- CVE-2022-26148 — Critical (CVSS 9.8): An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix. The Zabbix password can be found in the…
- CVE-2021-39226 — Critical (CVSS 9.8): Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are…
- CVE-2020-27846 — Critical (CVSS 9.8): A signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML…
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…