Advisory record · GHSA-497x-rrr9-68jp

Grafana Loki Path Traversal - CVE-2021-36156 Bypass

CVSS 5.3 MediumEPSS 0.0043 · 37th percentile

Published by the GitHub Advisory Database at 15 Apr 2026, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/grafana/loki/v3Go<3.6.43.6.4
Identifiers
GHSA-497x-rrr9-68jp · CVE-2026-21726 · GO-2026-5115
Weakness (CWE)
CWE-22 · CWE-601
Published
15 Apr 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Grafana Loki (github.com/grafana/loki/v3) versions before 3.6.4 are vulnerable to path traversal through the Ruler API endpoint /loki/api/v1/rules/{namespace}. The existing fix for CVE-2021-36156 checks the namespace parameter only after one URL decode, so a double-encoded traversal sequence gets past it and lets an attacker read files. Upgrade to version 3.6.4 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CNA (GRAFANA)
  • CISA KEV Not listed.
  • EPSS 0.0043, the 37th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.