CVE-2026-9029: Grafana geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug
The geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug. sanitizeTextPanelContent() runs on the raw template string before getTemplateSrv().replace() substitutes the variable value, which uses the glob format with no HTML escaping. The result is passed to OpenLayers via element.innerHTML.
Published Jun 22, 2026 · Updated Sep 21, 2026
Affected packages
github.com/grafana/grafana
- Ecosystem
- Go
- Affected
- >= 2.0.0-beta1, < 12.4.4
- Fixed in
- No patched version yet
- Check
go list -m github.com/grafana/grafana
github.com/grafana/grafana
- Ecosystem
- Go
- Affected
- >= 13.0.0, < 13.0.2
- Fixed in
- No patched version yet
- Check
go list -m github.com/grafana/grafana
github.com/grafana/grafana
- Ecosystem
- Go
- Affected
- < 1.9.2-0.20260616075434-82ef13993059
- Fixed in
- 1.9.2-0.20260616075434-82ef13993059
- Check
go list -m github.com/grafana/grafana
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug. sanitizeTextPanelContent() runs on the raw template string before getTemplateSrv().replace() substitutes the variable value, which uses the glob format with no HTML escaping. The result is passed to OpenLayers via element.innerHTML. An Editor can set a textbox variable's default value to an XSS payload that executes for every user who opens the dashboard. This is a bypass of the CVE-2023-0507 fix
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-9029
- https://grafana.com/security/security-advisories/cve-2026-9029
- https://github.com/grafana/grafana/commit/3fcdbc5a6e5c955bd42bd3715dd03cbad2b078c1
- https://github.com/grafana/grafana/commit/42cdc39124912a8506a0c613c319c345aa950b29
- https://github.com/grafana/grafana/commit/82ef13993059351bf21de35b8488bbd9b42df4f4
- https://github.com/grafana/grafana/commit/dc695b9649530064e19c7c120bd6ebe104908e58
- https://github.com/grafana/grafana/releases/tag/v12.4.4
- https://github.com/grafana/grafana/releases/tag/v13.0.2
- https://github.com/advisories/GHSA-9g84-39mm-q4p3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-10601
Grafana: Path traversal in the Tempo and Loki data source plugins
medium5.4No fixJun 22, 2026CVE-2026-42127
Grafana: Pre-authentication denial of service in the public dashboard query handler
high7.5No fixJun 22, 2026CVE-2026-42129
Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.
high7.7No fixJun 22, 2026CVE-2026-33380
Grafana: SQL Expressions Read File From Disk
medium6.3May 13, 2026CVE-2026-33381
Grafana: Users can generate Service Account tokens after permissions removal
medium5.9May 13, 2026CVE-2026-21727
Grafana legacy correlations allow cross-tenant disclosure and deletion
low3.3Apr 15, 2026
