{"id":"CVE-2025-46821","summary":"Envoy vulnerable to bypass of RBAC uri_template permission","details":"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.","aliases":["BIT-envoy-2025-46821","GHSA-c7cm-838g-6g67"],"modified":"2026-08-12T03:51:38.362765689Z","published":"2025-05-07T21:24:07.891Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-186"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46821.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46821.json"},{"type":"ADVISORY","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c7cm-838g-6g67"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46821"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/envoyproxy/envoy","events":[{"introduced":"0"},{"fixed":"dac139cd497d5c67a31d0944430e814c86ce43f3"},{"introduced":"86dc7ef91ca15fb4957a74bd599397413fc26a24"},{"fixed":"93466adc53567315e3114d6d1774c56f8066d24e"},{"introduced":"b0f43d67aa25c1b03c97186a200cc187f4c22db3"},{"fixed":"dfe02b93e0e43a08fa0d838bb9e4c2c9f44d3586"},{"introduced":"d7809ba2b07fd869d49bfb122b27f6a7977b4d94"},{"last_affected":"d7809ba2b07fd869d49bfb122b27f6a7977b4d94"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","cpe:2.3:a:envoyproxy:envoy:1.34.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"1.31.8"},{"introduced":"1.32.0"},{"fixed":"1.32.6"},{"introduced":"1.33.0"},{"fixed":"1.33.3"},{"introduced":"1.34.0"},{"last_affected":"1.34.0"}]}}],"versions":["1.34.0","v1.34.0","v1.31.7","v1.33.2","v1.32.5","v1.31.6","v1.33.1","v1.32.4","v1.33.0","v1.31.5","v1.32.3","v1.32.2","v1.31.4","v1.31.3","v1.32.1","v1.32.0","v1.31.2","v1.31.1","v1.31.0","v1.30.0","v1.29.0","v1.28.0","v1.27.0","v1.26.0","v1.25.0","v1.24.0","v1.23.0","v1.22.0","v1.21.0","v1.20.0","v1.19.0","v1.18.2","v1.18.1","v1.18.0","v1.17.0","v1.16.0","v1.15.0","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.10.0","v1.9.0","v1.8.0","v1.7.0","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46821.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}