GHSA-9493-h4f5-633x

Suggest an improvement
Source
https://github.com/advisories/GHSA-9493-h4f5-633x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9493-h4f5-633x
Aliases
Downstream
CGA (14)
MINI (18)
Published
2026-06-22T15:30:43Z
Modified
2026-09-21T23:25:48Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
Grafana: Path traversal in the Tempo and Loki data source plugins
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-21T23:03:34Z",
    "nvd_published_at":  "2026-06-22T14:16:25Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go
github.com/grafana/grafana

Package

Name
github.com/grafana/grafana
View open source insights on deps.dev
Purl
pkg:golang/github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0-beta1

Database specific

last_known_affected_version_range
"< 11.6.15"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json"
github.com/grafana/grafana

Package

Name
github.com/grafana/grafana
View open source insights on deps.dev
Purl
pkg:golang/github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
12.0.0

Database specific

last_known_affected_version_range
"< 12.2.9"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json"
github.com/grafana/grafana

Package

Name
github.com/grafana/grafana
View open source insights on deps.dev
Purl
pkg:golang/github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
12.3.0

Database specific

last_known_affected_version_range
"< 12.3.7"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json"
github.com/grafana/grafana

Package

Name
github.com/grafana/grafana
View open source insights on deps.dev
Purl
pkg:golang/github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
13.0.0

Database specific

last_known_affected_version_range
"< 13.0.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json"
github.com/grafana/grafana

Package

Name
github.com/grafana/grafana
View open source insights on deps.dev
Purl
pkg:golang/github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
12.4.0

Database specific

last_known_affected_version_range
"< 12.4.4"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9493-h4f5-633x/GHSA-9493-h4f5-633x.json"
github.com/grafana/grafana

Package

Name
github.com/grafana/grafana
View open source insights on deps.dev
Purl
pkg:golang/github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.9.2-0.20260616075434-82ef13993059

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"