Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹 Go

CVE-2024-9264

HIGH

Grafana Command Injection And Local File Inclusion Via Sql Expressions

Also known asBIT-grafana-2024-9264GHSA-q99m-qcv4-fpm7GO-2024-3215
Published
Oct 18, 2024
Updated
May 19, 2026
Affected
3 pkgs
Patched
3 / 3
Exploits
7 known

EPSS Exploitation Probability

via FIRST.org ↗
94.0%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
93.2%93.6%94.1%94.5%94.0%94.0%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

3 pkgs affected
🐹github.com/grafana/grafana🐹github.com/grafana/grafana🐹github.com/grafana/grafana

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/grafana/grafana11.0.0&&< 11.0.6+security-0111.0.6+security-01
🐹Gogithub.com/grafana/grafana11.1.0&&< 11.1.7+security-0111.1.7+security-01
🐹Gogithub.com/grafana/grafana11.2.0&&< 11.2.2+security-0111.2.2+security-01
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2024-9264 in your stack?

O3 detects CVE-2024-9264 across Go dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.