Grafana: Path traversal in the Tempo and Loki data source plugins
The Tempo and Loki datasource plugins construct backend HTTP requests by interpolating user-supplied input into URL paths without sanitization, enabling path traversal. A Viewer-role user can: (1) capture admin-configured datasource credentials (secureJsonData custom headers) by traversing to an attacker-controlled endpoint, (2) invoke state-changing admin endpoints on Tempo (e.g. /flush, /shutdown), and (3) exfiltrate internal service data via Loki's CallResource which returns full HTTP response bodies.
GHSA-9493-h4f5-633x
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-9493-h4f5-633x
github.com/grafana/grafana
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/grafana/grafana
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/grafana/grafana
Source reference: /affected/2/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/grafana/grafana
Source reference: /affected/3/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/grafana/grafana
Source reference: /affected/4/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
github.com/grafana/grafana
Source reference: /affected/5/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.9.2-0.20260616075434-82ef13993059
Source reference:
/affected/5/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0-beta1"
}
]
}
],
"package": {
"name": "github.com/grafana/grafana",
"purl": "pkg:golang/github.com/grafana/grafana",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json",
"last_known_affected_version_range": "< 11.6.15"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "12.0.0"
}
]
}
],
"package": {
"name": "github.com/grafana/grafana",
"purl": "pkg:golang/github.com/grafana/grafana",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json",
"last_known_affected_version_range": "< 12.2.9"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "12.3.0"
}
]
}
],
"package": {
"name": "github.com/grafana/grafana",
"purl": "pkg:golang/github.com/grafana/grafana",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json",
"last_known_affected_version_range": "< 12.3.7"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "13.0.0"
}
]
}
],
"package": {
"name": "github.com/grafana/grafana",
"purl": "pkg:golang/github.com/grafana/grafana",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json",
"last_known_affected_version_range": "< 13.0.2"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "12.4.0"
}
]
}
],
"package": {
"name": "github.com/grafana/grafana",
"purl": "pkg:golang/github.com/grafana/grafana",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json",
"last_known_affected_version_range": "< 12.4.4"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.9.2-0.20260616075434-82ef13993059"
}
]
}
],
"package": {
"name": "github.com/grafana/grafana",
"purl": "pkg:golang/github.com/grafana/grafana",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json"
}
}
]- Related CVEs
- CVE-2026-10601
Source reference:
/aliases
Publisher severity
No explicit severity was provided.
- Event
- #23408 · Revision 1
- Added to Heist Feed
- Publisher date