Open-policy-agent opa-envoy-plugin
opa-envoy-plugin has an Authorization Bypass via Double-Slash Path Misinterpretation in `input.parsed_path`
opa-envoy-plugun is a plugin to enforce OPA policies with Envoy. Versions prior to 1.13.2-envoy-2 have a vulnerability in how the `input.parsed_path` field is constructed. HTTP request paths are treated as full URIs when parsed; interpreting leading path segments prefixed with double slashes (`//`) as authority components, and therefore dropping them from the parsed path. This creates a path interpretation mismatch between authorization policies and backend servers, enabling attackers to bypass access controls by crafting requests where the authorization filter evaluates a different path than the one ultimately served. Version 1.13.2-envoy-2 fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.13.2-envoy-2
Fixed in 1.13.2-envoy-2
Mitigation
Upgrade opa-envoy-plugin to 1.13.2-envoy-2 or later.
References
- Vendor advisory github.com/open-policy-agent/opa-envoy-plugin/…
- Patch github.com/open-policy-agent/opa-envoy-plugin/…
- Release notes github.com/open-policy-agent/opa-envoy-plugin/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.