Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-21726: Vulnerability in Grafana Loki

0
Medium
VulnerabilityCVE-2026-21726cvecve-2026-21726
Published: Wed Apr 15 2026 (04/15/2026, 19:24:31 UTC)
Source: CVE Database V5
Vendor/Project: Grafana
Product: Loki

Description

CVE-2026-21726 is a medium severity vulnerability in Grafana Loki version 2. 3. 0 that allows an attacker to read files via a path traversal attack on the Ruler API endpoint. The issue arises because the fix for CVE-2021-36156 only validates the namespace parameter after a single URL decode, but an attacker can bypass this by double encoding the path traversal sequences. There is no confirmed patch or official remediation available at this time. No known exploits are reported in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 20:17:12 UTC

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}). The previous fix (CVE-2021-36156) validated the parameter after a single URL decode, but by double encoding path traversal sequences, an attacker can bypass this validation and read arbitrary files. The CVSS 3.1 base score is 5.3, reflecting a network attack vector with low complexity, no privileges required, no user interaction, and limited confidentiality impact. No official patch or remediation level has been published by the vendor.

Potential Impact

An attacker can exploit this vulnerability to read files on the server hosting Grafana Loki by bypassing namespace parameter validation through double URL encoding. This leads to limited confidentiality impact without affecting integrity or availability. No known exploits have been reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Loki Ruler API endpoint and monitor for suspicious requests involving encoded path traversal sequences. Avoid exposing the vulnerable API endpoint to untrusted networks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GRAFANA
Date Reserved
2026-01-05T09:26:06.215Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69dfeeb382d89c981f942271

Added to database: 4/15/2026, 8:01:55 PM

Last enriched: 4/15/2026, 8:17:12 PM

Last updated: 4/15/2026, 9:03:12 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses