CVE-2026-32811 Heimdall: Path received via Envoy gRPC corrupted when containing query string
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dadrus heimdall | = >= 0.7.0-alpha, < 0.17.11; >= 0.7.0, < 0.17.11 | 0.17.11 | Fixed |
| dadrus heimdall(Go) | >= 0.7.0-alpha, < 0.17.11; >= 0.7.0-alpha, <= 0.17.10 | 0.17.11 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dadrus heimdall(Go) | >= 0.7.0-alpha, < 0.17.11 | 0.17.11 |
| dadrus heimdall | = >= 0.7.0-alpha, < 0.17.11 | No fix listed |
| dadrus heimdall(Go) | >= 0.7.0-alpha, <= 0.17.10 | No fix listed |
| dadrus heimdall | >= 0.7.0, < 0.17.11 | 0.17.11 |
References
- https://github.com/dadrus/heimdall/security/advisories/GHSA-r8x2-fhmf-6mxp exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/dadrus/heimdall/pull/3106 issue-tracking patch
- https://github.com/dadrus/heimdall/commit/50321b3007db1ccafdc6b1cfd6bdc3689c19a502 patch
- github.com product
- https://github.com/envoyproxy/envoy/blob/105b4acd422d67fcff908ec38d91c7676d079939/api/envoy/service/auth/v3/attribute_context.proto#L146-L147 patch
- github.com