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.
{
"github_reviewed": true,
"nvd_published_at": "2026-04-15T20:16:34Z",
"cwe_ids": [
"CWE-601"
],
"github_reviewed_at": "2026-04-16T21:42:00Z",
"severity": "MODERATE"
}