# CVE-2026-32811: Heimdall: Path received via Envoy gRPC corrupted when containing query string

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-18T13:00:56.000Z
- Modified: 2026-06-17T10:36:23.163Z
- Also known as: GHSA-r8x2-fhmf-6mxp, GO-2026-4742
- Weaknesses: CWE-116, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dadrus heimdall: >= 0.7.0-alpha, < 0.17.11; from 0.7.0 before 0.17.11
- github.com/dadrus/heimdall (Go): from 0.7.0-alpha before 0.17.11

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/dadrus/heimdall/security/advisories/GHSA-r8x2-fhmf-6mxp> (exploit, advisory, vendor-advisory, web)
- <https://github.com/dadrus/heimdall/pull/3106> (fix, issue-tracking, patch, web)
- <https://github.com/dadrus/heimdall/commit/50321b3007db1ccafdc6b1cfd6bdc3689c19a502> (fix, patch, web)
- <https://github.com/envoyproxy/envoy/blob/105b4acd422d67fcff908ec38d91c7676d079939/api/envoy/service/auth/v3/attribute_context.proto#L146-L147> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32811> (advisory)
- <https://github.com/dadrus/heimdall> (package)

## Sources

- CVE List: [CVE-2026-32811](https://www.cve.org/CVERecord?id=CVE-2026-32811), CVE Terms of Use, modified 2026-03-21
- GitHub Advisory Database: [GHSA-r8x2-fhmf-6mxp](https://github.com/advisories/GHSA-r8x2-fhmf-6mxp), CC-BY-4.0, modified 2026-04-27
- Go Vulnerability Database: [GO-2026-4742](https://pkg.go.dev/vuln/GO-2026-4742), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-32811](https://nvd.nist.gov/vuln/detail/CVE-2026-32811), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32811 · Whole record: https://cve.day/CVE-2026-32811.json · Rebuilt by cve.day 2026-11-25T22:59:16.247Z
