{"id":"CVE-2024-9264","aliases":[],"cve":{"records":[{"id":"CVE-2024-9264","source":"GRAFANA","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2024-09-26T20:15:46.544Z","published":"2024-10-18T03:20:52.489Z","modified":"2026-11-04T00:11:17.366Z"}],"publishers":[{"name":"GRAFANA","role":"CNA","organizationId":"57da9224-a3e2-4646-9d0e-c4dc2e05e7da","modified":"2024-10-18T03:20:52.489Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-04T00:11:17.366Z"},{"name":"CVE","role":"ADP","organizationId":"af854a3a-2127-422b-91ae-364da2661108","modified":"2025-03-14T10:03:06.561Z"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2024-9264/","tags":[],"source":"GRAFANA"},{"url":"https://security.netapp.com/advisory/ntap-20250314-0007/","tags":[],"source":"CVE"}],"weaknesses":[{"id":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","source":"GRAFANA"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2024-11-01T03:55:22.563345Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"title":"Grafana SQL Expressions allow for remote code execution","titleSource":"GRAFANA","descriptionSource":"GRAFANA","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.","score":9.9,"severity":"critical","published":"2024-10-18T03:20:52.489Z","modified":"2026-11-04T00:11:17.366Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Grafana","name":"Grafana","platforms":[],"versions":[{"version":"11.0.0","status":"affected","lessThan":"11.0.5","versionType":"semver","changes":[{"at":"+security-01","status":"unaffected"}]},{"version":"11.1.0","status":"affected","lessThan":"11.1.6","versionType":"semver","changes":[{"at":"+security-01","status":"unaffected"}]},{"version":"11.2.0","status":"affected","lessThan":"11.2.1","versionType":"semver","changes":[{"at":"+security-01","status":"unaffected"}]},{"version":"11.0.0","status":"affected","lessThan":"11.0.6","versionType":"semver","changes":[{"at":"+security-01","status":"unaffected"}]},{"version":"11.1.0","status":"affected","lessThan":"11.1.7","versionType":"semver","changes":[{"at":"+security-01","status":"unaffected"}]},{"version":"11.2.0","status":"affected","lessThan":"11.2.2","versionType":"semver","changes":[{"at":"+security-01","status":"unaffected"}]}],"defaultStatus":"unaffected","cpes":[],"source":"GRAFANA","url":"https://www.cve.org/CVERecord?id=CVE-2024-9264"},{"vendor":"grafana","name":"grafana","platforms":[],"versions":[{"version":"11.0.0","status":"affected","lessThan":"11.0.5\\+security-01","versionType":"semver"},{"version":"11.0.6","status":"affected","lessThan":"11.0.6\\+security-01","versionType":"semver"},{"version":"11.1.0","status":"affected","lessThan":"11.1.6\\+security-01","versionType":"semver"},{"version":"11.1.7","status":"affected","lessThan":"11.1.7\\+security-01","versionType":"semver"},{"version":"11.2.0","status":"affected","lessThan":"11.2.1\\+security-01","versionType":"semver"},{"version":"11.2.2","status":"affected","lessThan":"11.2.2\\+security-01","versionType":"semver"}],"defaultStatus":"unaffected","cpes":["cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*"],"source":"CISA-ADP","url":"https://www.cve.org/CVERecord?id=CVE-2024-9264"}],"remediation":[],"references":["https://grafana.com/security/security-advisories/cve-2024-9264/","https://security.netapp.com/advisory/ntap-20250314-0007/"],"sources":[{"name":"CVE","id":"CVE-2024-9264","modified":"2026-11-04T00:11:17.366Z","url":"https://www.cve.org/CVERecord?id=CVE-2024-9264"}],"assessments":[{"source":"GRAFANA","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","score":9.4},{"source":"GRAFANA","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9}],"sourceAffected":[],"observedAt":"2026-11-04T00:38:23.484Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T00:35:30.798Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-04T01:00:30.957Z","attemptedAt":"2026-11-04T01:00:30.957Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-04T01:00:30.957Z","attemptedAt":"2026-11-04T01:00:30.957Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-04T01:00:30.957Z","attemptedAt":"2026-11-04T01:00:30.957Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-04T01:00:31.088Z","attemptedAt":"2026-11-04T01:00:31.088Z"}],"evidence":[{"source":"NVD","id":"CVE-2024-9264","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9264","modified":"2026-11-03T22:17:30.310","score":9.4,"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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-04T01:00:30.957Z"},{"source":"NVD","id":"CVE-2024-9264","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9264","modified":"2026-11-03T22:17:30.310","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","checkedAt":"2026-11-04T01:00:30.957Z"},{"source":"NVD","id":"CVE-2024-9264","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9264","modified":"2026-11-03T22:17:30.310","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-04T01:00:30.957Z"},{"source":"GitHub Advisory Database","id":"GHSA-q99m-qcv4-fpm7","url":"https://github.com/advisories/GHSA-q99m-qcv4-fpm7","modified":"2025-03-14T20:26:23Z","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","checkedAt":"2026-11-04T01:00:30.957Z"},{"source":"ENISA EUVD","id":"EUVD-2024-3110","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-3110","modified":"Nov 3, 2026, 9:52:46 PM","score":9.4,"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","checkedAt":"2026-11-04T01:00:30.957Z"},{"source":"FIRST EPSS","id":"CVE-2024-9264","url":"https://www.first.org/epss/","probability":0.97553,"percentile":0.99902,"date":"2026-11-03","checkedAt":"2026-11-04T01:00:31.088Z"}],"aiSummary":{"text":"Grafana versions before 11.0.5, 11.1.6, and 11.2.1 have a code injection vulnerability in the SQL Expressions feature, allowing users with VIEWER or higher permission to execute attacks if the `duckdb` binary is present in the $PATH. The vulnerability is due to insufficient sanitization of user input in `duckdb` queries. Users with the required permission and access to the `duckdb` binary can exploit this vulnerability.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-04T01:21:10.739Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2024-9264"}]}}