Skip to content

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

MediumCVSS 5.3 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

12 packages: 1 fixed, 1 partially fixed, 10 with no fix yet.

PackageAffectedFixed inStatus
redhat/grafana(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/grafana(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9(Red Hat multicluster_globalhub) All versions No fix listed No fix yet
redhat/network-observability/network-observability-rhel9-operator(Red Hat network_observ_optr 1) All versions No fix listed No fix yet
redhat/openshift-logging/logging-loki-rhel9(Red Hat logging 6) All versions No fix listed No fix yet
redhat/openshift-logging/loki-rhel9-operator(Red Hat logging 6) All versions No fix listed No fix yet
redhat/rhacm2/acm-grafana-rhel9(Red Hat acm 2) All versions No fix listed No fix yet
redhat/rhceph/rhceph-6-dashboard-rhel9(Red Hat ceph_storage 6) All versions No fix listed No fix yet
redhat/rhceph/rhceph-promtail-rhel9(Red Hat ceph_storage 6) All versions No fix listed No fix yet
redhat/rhoso-operators/telemetry-rhel9-operator(Red Hat openstack 18.0) All versions No fix listed No fix yet
grafana github.com/grafana/loki(Go) < 3.6.4; All versions 3.6.4 Partially fixed
grafana github.com/grafana/loki < 3.6.4; >= 2.3.0, < 3.5.9 3.5.9, 3.6.4 Fixed

Affected products

ProductAffected versionsFixed in
grafana github.com/grafana/loki(Go) < 3.6.4 3.6.4
grafana github.com/grafana/loki(Go) All versions No fix listed
grafana github.com/grafana/loki >= 2.3.0, < 3.5.9 3.5.9
redhat/openshift-logging/logging-loki-rhel9(Red Hat:logging:6) All versions No fix listed
redhat/openshift-logging/loki-rhel9-operator(Red Hat:logging:6) All versions No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9(Red Hat:multicluster_globalhub) All versions No fix listed
redhat/network-observability/network-observability-rhel9-operator(Red Hat:network_observ_optr:1) All versions No fix listed
redhat/rhacm2/acm-grafana-rhel9(Red Hat:acm:2) All versions No fix listed
redhat/rhceph/rhceph-6-dashboard-rhel9(Red Hat:ceph_storage:6) All versions No fix listed
redhat/rhceph/rhceph-promtail-rhel9(Red Hat:ceph_storage:6) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/rhoso-operators/telemetry-rhel9-operator(Red Hat:openstack:18.0) All versions No fix listed
grafana github.com/grafana/loki < 3.6.4 3.6.4

References