{"id":"CVE-2025-46821","state":"PUBLISHED","title":"Envoy vulnerable to bypass of RBAC uri_template permission","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.","publishedAt":"2025-05-07T21:24:07.891Z","updatedAt":"2025-05-08T14:11:13.676Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["envoyproxy envoy"],"affected":[{"vendor":"envoyproxy","product":"envoy","versions":[{"version":"< 1.31.8","status":"affected"},{"version":">= 1.32.0, < 1.32.6","status":"affected"},{"version":">= 1.33.0, < 1.33.3","status":"affected"},{"version":">= 1.34.0, < 1.34.1","status":"affected"}]}],"references":["https://github.com/envoyproxy/envoy/security/advisories/GHSA-c7cm-838g-6g67"],"weaknesses":["CWE-186"],"ingestedAt":"2026-10-29T20:09:17.366Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/46xxx/CVE-2025-46821.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-46821","state":"PUBLISHED","datePublished":"2025-05-07T21:24:07.891Z","dateUpdated":"2025-05-08T14:11:13.676Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-04-30T19:41:58.134Z"},"containers":{"cna":{"title":"Envoy vulnerable to bypass of RBAC uri_template permission","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"envoyproxy","product":"envoy","versions":[{"version":"< 1.31.8","status":"affected"},{"version":">= 1.32.0, < 1.32.6","status":"affected"},{"version":">= 1.33.0, < 1.33.3","status":"affected"},{"version":">= 1.34.0, < 1.34.1","status":"affected"}]}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c7cm-838g-6g67","name":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-c7cm-838g-6g67","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-186","lang":"en","description":"CWE-186: Overly Restrictive Regular Expression","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-05-07T21:24:07.891Z"},"source":{"advisory":"GHSA-c7cm-838g-6g67","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-08T13:43:52.581427Z","id":"CVE-2025-46821","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-08T14:11:13.676Z"}}]}}}