LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Envoy could make access-control decisions on a URL path before decoding escaped slash or backslash characters. If a backend decoded those characters differently, a blocked sensitive path could still be reached. This matters most where Envoy enforces RBAC or JWT rules based on URL paths.

Executive priority

Treat as high priority for Envoy deployments protecting administrative or sensitive routes by path. Prioritize internet-facing gateways and service meshes where Envoy makes authorization decisions before forwarding to application backends.

Technical view

CVE-2021-29492 affects Envoy versions 1.18.2 and earlier. Envoy did not decode escaped slash sequences in HTTP URL paths before path-based RBAC or JWT enforcement. Backends that normalize those characters as path separators could interpret the request as targeting a different protected resource, causing privilege escalation.

Likely exposure

Exposure is likely when Envoy <= 1.18.2 fronts untrusted HTTP clients, uses RBAC or JWT filters with URL-path matching, and sends traffic to backends that treat escaped and literal slash or backslash characters interchangeably.

Exploitation context

The source bundle does not report known active exploitation, and KEV status is false. Exploitation requires a specific mismatch between Envoy path matching and backend path decoding, which aligns with the CVSS high severity but higher attack complexity.

Researcher notes

The core condition is parser inconsistency: Envoy path matching versus backend path decoding and normalization. Evidence supports privilege escalation risk, but not active exploitation. Validation should focus on affected Envoy versions, path-based RBAC/JWT enforcement, and backend treatment of encoded separators.

Mitigation direction

  • Upgrade Envoy to a patched branch release: 1.18.3, 1.17.3, 1.16.4, or 1.15.5.
  • Configure the patched path normalization option to decode escaped slash characters where applicable.
  • If patching is delayed, reconfigure backends not to treat escaped and literal separators interchangeably.
  • Review RBAC and JWT policies that authorize requests based on URL path.
  • Check vendor guidance for branch-specific configuration details before deployment.

Validation and detection

  • Inventory Envoy versions and confirm no affected versions remain in service.
  • Identify RBAC or JWT filters that enforce authorization using URL-path matches.
  • Confirm backend frameworks do not normalize escaped separators differently from Envoy.
  • Review access logs for untrusted requests containing escaped slash or backslash characters.
  • Regression-test protected routes through Envoy and backend path handling after remediation.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-29492 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2021-29492Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
envoyproxyenvoy<= 1.18.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.