# CVE-2021-29492: Bypass of path matching rules using escaped slash characters

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 63.1%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-05-28T21:00:24.000Z
- Modified: 2026-09-08T08:47:22.070Z
- Also known as: BIT-ENVOY-2021-29492, GHSA-4987-27fx-x6cf
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

Envoy is a cloud-native edge/middle/service proxy. Envoy does not decode escaped slash sequences `%2F` and `%5C` in HTTP URL paths in versions 1.18.2 and before. A remote attacker may craft a path with escaped slashes, e.g. `/something%2F..%2Fadmin`, to bypass access control, e.g. a block on `/admin`. A backend server could then decode slash sequences and normalize path and provide an attacker access beyond the scope provided for by the access control policy. ### Impact Escalation of Privileges when using RBAC or JWT filters with enforcement based on URL path. Users with back end servers that interpret `%2F` and `/` and `%5C` and `\` interchangeably are impacted. ### Attack Vector URL paths containing escaped slash characters delivered by untrusted client. Patches in versions 1.18.3, 1.17.3, 1.16.4, 1.15.5 contain new path normalization option to decode escaped slash characters. As a workaround, if back end servers treat `%2F` and `/` and `%5C` and `\` interchangeably and a URL path based access control is configured, one may reconfigure the back end server to not treat `%2F` and `/` and `%5C` and `\` interchangeably.

(As written by CVE List.)

## Affected

- envoyproxy envoy: <= 1.18.2; before 1.15.5; from 1.16.0 before 1.16.4; from 1.17.0 before 1.17.3; from 1.18.0 before 1.18.3
- envoy (Bitnami): before 1.15.5; from 1.16.0 before 1.16.4; from 1.17.0 before 1.17.3; from 1.18.0 before 1.18.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/envoyproxy/envoy/security/advisories/GHSA-4987-27fx-x6cf> (advisory, mitigation, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29492> (web)

## Sources

- CVE List: [CVE-2021-29492](https://www.cve.org/CVERecord?id=CVE-2021-29492), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-29492](https://nvd.nist.gov/vuln/detail/CVE-2021-29492), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ENVOY-2021-29492](https://osv.dev/vulnerability/BIT-ENVOY-2021-29492), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-29492 · Whole record: https://cve.day/CVE-2021-29492.json · Rebuilt by cve.day 2026-11-25T22:58:01.587Z
