Home

Description

Heimdall is a cloud native Identity Aware Proxy and Access Control Decision service. When using Heimdall in envoy gRPC decision API mode with versions 0.7.0-alpha through 0.17.10, wrong encoding of the query URL string allows rules with non-wildcard path expressions to be bypassed. Envoy splits the requested URL into parts, and sends the parts individually to Heimdall. Although query and path are present in the API, the query field is documented to be always empty and the URL query is included in the path field. The implementation uses go's url library to reconstruct the url which automatically encodes special characters in the path. As a consequence, a parameter like /mypath?foo=bar to Path is escaped into /mypath%3Ffoo=bar. Subsequently, a rule matching /mypath no longer matches and is bypassed. The issue can only lead to unintended access if Heimdall is configured with an "allow all" default rule. Since v0.16.0, Heimdall enforces secure defaults and refuses to start with such a configuration unless this enforcement is explicitly disabled, e.g. via --insecure-skip-secure-default-rule-enforcement or the broader --insecure flag. This issue has been fixed in version 0.17.11.

PUBLISHED Reserved 2026-03-16 | Published 2026-03-20 | Updated 2026-03-21 | Assigner GitHub_M




HIGH: 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Problem types

CWE-116: Improper Encoding or Escaping of Output

CWE-863: Incorrect Authorization

Product status

>= 0.7.0-alpha, < 0.17.11
affected

References

github.com/...imdall/security/advisories/GHSA-r8x2-fhmf-6mxp

github.com/dadrus/heimdall/pull/3106

github.com/...ommit/50321b3007db1ccafdc6b1cfd6bdc3689c19a502

github.com/.../envoy/service/auth/v3/attribute_context.proto

cve.org (CVE-2026-32811)

nvd.nist.gov (CVE-2026-32811)

Download JSON