github.com/envoyproxy/envoy
Affected
- introduced
1.37.0, fixed1.37.1(semver)
Fixed versions
1.37.1
Fix
- Fixed version
1.37.1go get github.com/envoyproxy/[email protected]
Advisory
Also known as: BIT-envoy-2026-26308, CVE-2026-26308
Envoy has RBAC Header Validation Bypass via Multi-Value Header Concatenation
1. Summary
The Envoy RBAC (Role-Based Access Control) filter contains a logic vulnerability in how it validates HTTP headers when multiple values are present for the same header name. Instead of validating each header value individually, Envoy concatenates all values into a single comma-separated string. This behavior allows attackers to bypass RBAC policies—specifically "Deny" rules—by sending duplicate headers, effectively obscuring the malicious value from exact-match mechanisms.
2. Attack Scenario
Consider an environment where an administrator wants to block external access to internal resources using a specific header flag.
Configuration
The Envoy proxy is configured with a Deny rule to reject requests containing the header internal: true.
internal header must not equal true.The Bypass Logic
internal: true * Envoy Processing: Sees string "true". * Result: Match found. Request Denied.http internal: true internal: true * Envoy Processing: Concatenates values into "true,true". * Matcher Evaluation: Does "true,true" equal "true"? No. * Result: The Deny rule fails to trigger. Request Allowed.3. Implications
4. Reproduction Steps
To verify this vulnerability:
internal: true).internal: true. * *Observation:* Envoy blocks this request (HTTP 403).http GET /restricted-resource HTTP/1.1 Host: example.com internal: true internal: true * *Observation:* Envoy allows the request, granting access to the resource.6. Recommendations
Fix Header Validation Logic:
Modify the RBAC filter to validate each header value instance individually. Avoid relying on the concatenated string output of getAllOfHeaderAsString() for security-critical matching unless the matcher is explicitly designed to parse comma-separated lists.
** Examine the DENY role to use a Regex style fix.
Credit: Dor Konis
High Basis: The source's own band: HIGH
1.37.0, fixed 1.37.1 (semver)1.37.1
1.37.1go get github.com/envoyproxy/[email protected]1.36.0, fixed 1.36.5 (semver)1.36.5
1.36.5go get github.com/envoyproxy/[email protected]1.35.0, fixed 1.35.9 (semver)1.35.9
1.35.9go get github.com/envoyproxy/[email protected]0, fixed 1.34.13 (semver)1.34.13
1.34.13go get github.com/envoyproxy/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0