Advisory

GHSA-497x-rrr9-68jp

Also known as: CVE-2026-21726, GO-2026-5115

Summary

Grafana Loki Path Traversal - CVE-2021-36156 Bypass

Details

The CVE-2021-36156 fix validates the namespace parameter for path traversal sequences after a single URL decode, by double encoding, an attacker can read files at the Ruler API endpoint /loki/api/v1/rules/{namespace}

Thanks to Prasanth Sundararajan for reporting this vulnerability.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-15 21:30 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

github.com/grafana/loki/v3

Go · All systems

Affected

  • introduced 0, fixed 3.6.4 (semver)

Fixed versions

3.6.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences