{"id":"GHSA-q99m-qcv4-fpm7","revision":"ac49ff5c0aff4e7a8439fe66bc559b96","records":[{"revision":"ac49ff5c0aff4e7a8439fe66bc559b96","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-q99m-qcv4-fpm7","aliases":["BIT-grafana-2024-9264","CVE-2024-9264","GO-2024-3215"],"title":"Grafana Command Injection And Local File Inclusion Via Sql Expressions","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.","state":0,"publishedAt":"2024-10-18T06:30:32+00:00","modifiedAt":"2026-09-10T03:50:19.8951342+00:00","affected":[{"ecosystem":"Go","name":"github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"11.0.0"},{"kind":"fixed","version":"11.0.6+security-01"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"11.1.0"},{"kind":"fixed","version":"11.1.7+security-01"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"11.2.0"},{"kind":"fixed","version":"11.2.2+security-01"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-9264","https://github.com/grafana/grafana/pull/81666","https://github.com/grafana/grafana","https://grafana.com/blog/2024/10/17/grafana-security-release-critical-severity-fix-for-cve-2024-9264","https://grafana.com/security/security-advisories/cve-2024-9264","https://security.netapp.com/advisory/ntap-20250314-0007"],"sourceUrl":"https://github.com/advisories/GHSA-q99m-qcv4-fpm7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-q99m-qcv4-fpm7","identifiers":["GHSA-q99m-qcv4-fpm7","BIT-grafana-2024-9264","CVE-2024-9264","GO-2024-3215"]},"retained":false,"historicalAffected":[]}],"coverage":[]}