Grafana SQL Expressions allow for remote code execution
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment 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:HAssessment vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HSeverity
critical9.9CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
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.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Attack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Grafana · GRAFANA
Grafana
6 ranges
Grafana · GRAFANA
Grafana
Compare with this publisher’s ranges. This does not inspect your installation.
affected
11.0.0 → before 11.0.5
semver versions
From +security-01: unaffected
Source order retained; this version scheme requires manual review.
11.1.0 → before 11.1.6
semver versions
From +security-01: unaffected
Source order retained; this version scheme requires manual review.
11.2.0 → before 11.2.1
semver versions
From +security-01: unaffected
Source order retained; this version scheme requires manual review.
11.0.0 → before 11.0.6
semver versions
From +security-01: unaffected
Source order retained; this version scheme requires manual review.
11.1.0 → before 11.1.7
semver versions
From +security-01: unaffected
Source order retained; this version scheme requires manual review.
11.2.0 → before 11.2.2
semver versions
From +security-01: unaffected
Source order retained; this version scheme requires manual review.
Other versions: unaffected
grafana · CISA-ADP
grafana
6 ranges
grafana · CISA-ADP
grafana
Compare with this publisher’s ranges. This does not inspect your installation.
affected
11.0.0 → before 11.0.5\+security-01
semver versions
11.0.6 → before 11.0.6\+security-01
semver versions
11.1.0 → before 11.1.6\+security-01
semver versions
11.1.7 → before 11.1.7\+security-01
semver versions
11.2.0 → before 11.2.1\+security-01
semver versions
11.2.2 → before 11.2.2\+security-01
semver versions
Other versions: unaffected
Product identifiers (CPE)
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher 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.
References
2 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2024-9264View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 3
Assigning organization
Additional data publisher
Additional data publisher
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- CVE · CVE-2024-9264
Observed 2026-11-04T00:38:23.484Z · upstream updated 2026-11-04T00:11:17.366Z
Product or version evidence changed
before
[ { "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" }, { "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" }, { "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" }, { "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" }, { "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" }, { "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" } ]after
[ { "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" } ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
RCE on Grafana via sqlExpressions
A chained attack via SQL Expressions and a Grafana Enterprise plugin can lead to a remote arbitrary code execution impact (RCE). This is enabled by a feature in Grafana (OSS), so all users are always recommended to update to avoid future attack vectors going this path.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
A security vulnerability in the /apis/dashboard.grafana.app/ endpoints allows authenticated users to bypass dashboard…
A security vulnerability in the /apis/dashboard.grafana.app/* endpoints allows authenticated users to bypass dashboard and folder permissions. The vulnerability affects all API versions (v0alpha1, v1alpha1, v2alpha1).
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
Grafana is an open-source platform for monitoring and observability.
Grafana is an open-source platform for monitoring and observability.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
When query caching is enabled in Grafana users can query another users session
Grafana is an open-source platform for monitoring and observability. When datasource query caching is enabled, Grafana caches all headers, including grafana_session. As a result, any user that queries a datasource where the caching is enabled can acquire another user’s session. To mitigate the vulnerability you can disable datasource query caching for all datasources. This issue has been patched in versions 9.2.10 and 9.3.4.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
Grafana stored XSS in FileUploader component
Grafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch and prior to versions 8.5.16, 9.2.10, and 9.3.4, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible because SVG files weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
Grafana vulnerable to spoofing originalUrl of snapshots
Grafana is an open-source platform for monitoring and observability. Prior to versions 8.5.16 and 9.2.8, malicious user can create a snapshot and arbitrarily choose the originalUrl parameter by editing the query, thanks to a web proxy. When another user opens the URL of the snapshot, they will be presented with the regular web interface delivered by the trusted Grafana server. The Open original dashboard button no longer points to the to the real original dashboard but to the attacker’s injected URL. This issue is fixed in versions 8.5.16 and 9.2.8.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established