CVE-2026-21726: Vulnerability in Grafana Loki
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.
AI Analysis
Technical Summary
This vulnerability in Grafana Loki 2.3.0 involves improper validation of the namespace parameter in the Ruler API endpoint /loki/api/v1/rules/{namespace}. Although CVE-2021-36156 addressed path traversal by validating the parameter after a single URL decode, an attacker can bypass this by double encoding the path traversal sequences. This allows unauthorized reading of files on the system. The CVSS 3.1 base score is 5.3 (medium), reflecting network attack vector, low complexity, no privileges required, no user interaction, and limited confidentiality impact. There is no official remediation or patch available as of the published date.
Potential Impact
An attacker can read arbitrary files on the system via the Ruler API endpoint by exploiting the path traversal vulnerability. This leads to limited confidentiality impact without affecting integrity or availability. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the Ruler API endpoint and monitor for suspicious requests involving double encoded path traversal sequences.
CVE-2026-21726: Vulnerability in Grafana Loki
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.
CVSS v3.1
Score 5.3medium
Affected software
Grafana
Loki
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Grafana Loki 2.3.0 involves improper validation of the namespace parameter in the Ruler API endpoint /loki/api/v1/rules/{namespace}. Although CVE-2021-36156 addressed path traversal by validating the parameter after a single URL decode, an attacker can bypass this by double encoding the path traversal sequences. This allows unauthorized reading of files on the system. The CVSS 3.1 base score is 5.3 (medium), reflecting network attack vector, low complexity, no privileges required, no user interaction, and limited confidentiality impact. There is no official remediation or patch available as of the published date.
Potential Impact
An attacker can read arbitrary files on the system via the Ruler API endpoint by exploiting the path traversal vulnerability. This leads to limited confidentiality impact without affecting integrity or availability. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the Ruler API endpoint and monitor for suspicious requests involving double encoded path traversal sequences.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GRAFANA
- Date Reserved
- 2026-01-05T09:26:06.215Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69dfeeb382d89c981f942271
Added to database: 04/15/2026, 20:01:55 UTC
Last enriched: 08/11/2026, 13:34:35 UTC
Last updated: 09/15/2026, 02:22:26 UTC
Views: 274
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.