Description
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.
Published: 2026-04-15
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Read arbitrary local files via the Ruler API
Action: Prioritize Patch
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-497x-rrr9-68jp Grafana Loki Path Traversal - CVE-2021-36156 Bypass
History

Mon, 20 Apr 2026 20:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:grafana:loki:*:*:*:*:*:*:*:*

Mon, 20 Apr 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Sat, 18 Apr 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Sat, 18 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-76
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 16 Apr 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Wed, 15 Apr 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Grafana
Grafana loki
Vendors & Products Grafana
Grafana loki

Wed, 15 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Apr 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Loki Path Traversal - CVE-2021-36156 Bypass
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GRAFANA

Published:

Updated: 2026-05-13T19:28:29.093Z

Reserved: 2026-01-05T09:26:06.215Z

Link: CVE-2026-21726

cve-icon Vulnrichment

Updated: 2026-04-15T20:01:29.185Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-15T20:16:34.177

Modified: 2026-04-20T20:08:40.723

Link: CVE-2026-21726

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-15T19:24:31Z

Links: CVE-2026-21726 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T00:15:16Z

Weaknesses