Grafana SQL Expressions allow for remote code execution
3 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 98%. Fixed in 11.0.5, 11.0.6, 11.1.6 and 3 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| grafana | grafana | =11.0.0 | |
| grafana | >=11.0.0 <11.0.5, >=11.0.0 <11.0.6, >=11.1.0 <11.1.6, >=11.1.0 <11.1.7, >=11.2.0 <11.2.1, >=11.2.0 <11.2.2 | 11.0.5, 11.0.6, 11.1.6, 11.1.7, 11.2.1, 11.2.2 |
Exploit evidence
3 public sources
Coverage
News and research mentioning this CVE
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket