LiveActive security incident?Get immediate response
CVE Record

CVE-2026-21726: Loki Path Traversal - CVE-2021-36156 Bypass

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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Grafana Loki 2.3.0 has a path traversal issue that can let an unauthenticated remote attacker read files through the Ruler rules API. The reported impact is confidentiality only, with low data exposure severity. No source in the bundle reports active exploitation.

Executive priority

Treat as a targeted, moderate-priority confidentiality risk. It is not currently supported as actively exploited, but exposed Loki 2.3.0 services should be identified and remediated through Grafana guidance.

Technical view

This is a bypass of the CVE-2021-36156 fix. The namespace parameter is validated after one URL decode, but double encoding can bypass traversal filtering at /loki/api/v1/rules/{namespace}. CVSS 3.1 is 5.3: network-reachable, low complexity, no privileges, no user interaction, low confidentiality impact.

Likely exposure

Exposure is likely limited to Grafana Loki 2.3.0 deployments where the Ruler API endpoint is reachable by untrusted users or networks. The source bundle lists other versions as unaffected by default, but does not provide complete deployment context.

Exploitation context

The vulnerability is remotely reachable and unauthenticated according to the CVSS vector. KEV status is false, and the provided sources do not cite known active exploitation or public weaponization.

Researcher notes

The key issue is decode-order handling in namespace traversal validation. Evidence supports a double-encoding bypass against the Ruler API, but the bundle does not include exploit details, fixed versions, or indicators of compromise.

Mitigation direction

  • Check Grafana's advisory for official remediation and fixed-version guidance.
  • Inventory environments for Grafana Loki 2.3.0 specifically.
  • Prioritize systems where the Ruler API is exposed to untrusted networks.
  • Review access controls around Loki API endpoints during remediation planning.
  • Do not assume CVE-2021-36156 mitigation fully covers Loki 2.3.0.

Validation and detection

  • Confirm installed Loki versions across production and non-production environments.
  • Identify whether /loki/api/v1/rules/{namespace} is reachable externally or by untrusted users.
  • Review logs for unusual requests to the Ruler rules API endpoint.
  • Map any exposed Loki 2.3.0 instances to owners and data sensitivity.
  • Track remediation status against Grafana's published advisory.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-21726 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
2Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N3.91.4GRAFANA

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2026-21726Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
GrafanaLoki2.3.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.