{"id":"CVE-2024-9264","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-9264","generatedAt":"2026-11-04T21:14:19.831Z","title":"The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input.","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.","published":"2024-10-18T04:15:05.000Z","lastModified":"2026-11-04T01:17:19.000Z","status":"Modified","sourceIdentifier":"security@grafana.com","cvss":{"version":"4.0","score":9.4,"severity":"CRITICAL","vector":"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/M"},"cwe":["CWE-94","CWE-77"],"affected":["grafana/grafana"],"epss":{"score":0.97553,"percentile":0.99902,"date":"2026-11-03","history":[{"date":"2026-10-15","score":0.97138,"percentile":0.99894}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 97.6%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2024-9264/","tags":["Vendor Advisory"],"source":"security@grafana.com"},{"url":"https://security.netapp.com/advisory/ntap-20250314-0007/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-9264","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}