CVE-2026-21726 Affecting loki-3.6-canary package, versions <3.6.4-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-LOKI36CANARY-16101554
  • published18 Apr 2026
  • disclosed15 Apr 2026

Introduced: 15 Apr 2026

NewCVE-2026-21726  (opens in a new tab)

How to fix?

Upgrade Minimos:latest loki-3.6-canary to version 3.6.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream loki-3.6-canary package and not the loki-3.6-canary package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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 Base Scores

version 3.1