CVE-2025-46821

Envoy vulnerable to bypass of RBAC uri_template permission

State
Published
Severity
5.3 Medium
Published
May 7, 2025
Updated
May 8, 2025
Reserved
Apr 30, 2025

Read the record on cve.org

Description

Envoy is a cloud-native edge/middle/service proxy. Prior to versions 1.34.1, 1.33.3, 1.32.6, and 1.31.8, Envoy's URI template matcher incorrectly excludes the `*` character from a set of valid characters in the URI path. As a result URI path containing the `*` character will not match a URI template expressions. This can result in bypass of RBAC rules when configured using the `uri_template` permissions. This vulnerability is fixed in Envoy versions v1.34.1, v1.33.3, v1.32.6, v1.31.8. As a workaround, configure additional RBAC permissions using `url_path` with `safe_regex` expression.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-186 Overly Restrictive Regular Expression

Affected Products

ProductVersions
envoyenvoyproxy
  • < 1.31.8Affected
  • >= 1.32.0, < 1.32.6Affected
  • >= 1.33.0, < 1.33.3Affected
  • >= 1.34.0, < 1.34.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.