# CVE-2025-46821: Envoy vulnerable to bypass of RBAC uri\_template permission

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-28)
- **CWE:** CWE-186
- **Published:** 2025-05-07T21:24:07.891Z
- **Modified:** 2026-06-17T09:26:59.437Z

## Who should check

- Anyone running envoyproxy envoy \< 1.31.8; \>= 1.32.0, \< 1.32.6; \>= 1.33.0, \< 1.33.3; \>= 1.34.0, \< 1.34.1

## 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.

## Affected and fixed versions

- envoyproxy envoy: \< 1.31.8; \>= 1.32.0, \< 1.32.6; \>= 1.33.0, \< 1.33.3; \>= 1.34.0, \< 1.34.1 (cvelist)

## Mitigation

- Upgrade envoy to 1.34.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-46821. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46821.md
Affected: envoyproxy envoy < 1.31.8; >= 1.32.0, < 1.32.6; >= 1.33.0, < 1.33.3; >= 1.34.0, < 1.34.1
Fixed in: envoyproxy envoy 1.31.8, envoyproxy envoy 1.32.6, envoyproxy envoy 1.33.3, envoyproxy envoy 1.34.1

Steps:
1. Search this machine and project for envoyproxy envoy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-46821 being exploited?

There is no confirmed exploitation: CVE-2025-46821 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-46821?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-46821?

envoyproxy envoy \< 1.31.8; \>= 1.32.0, \< 1.32.6; \>= 1.33.0, \< 1.33.3; \>= 1.34.0, \< 1.34.1.

### Is there a fix for CVE-2025-46821?

Yes. Fixed in envoyproxy envoy 1.31.8, envoyproxy envoy 1.32.6, envoyproxy envoy 1.33.3, envoyproxy envoy 1.34.1. Upgrade envoy to 1.34.1 or later.

### How do I check if I'm affected by CVE-2025-46821?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/envoyproxy/envoy/security/advisories/GHSA-c7cm-838g-6g67>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-46821>

HTML: <https://flawdb.com/CVE-2025-46821> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-46821>
