Vulnerability · Published Mar 23, 2026 · Assigned by GitHub_M
CVE-2026-33242Salvo has a Path Traversal in salvo-proxy::encode_url_path allows API Gateway Bypass
High 7.5
In plain English
A high-severity path traversal in salvo from salvo-rs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Official description
Salvo is a Rust web framework. Versions 0.39.0 through 0.89.2 have a Path Traversal and Access Control Bypass vulnerability in the salvo-proxy component. The vulnerability allows an unauthenticated external attacker to bypass proxy routing constraints and access unintended backend paths (e.g., protected endpoints or administrative dashboards). This issue stems from the encode_url_path function, which fails to normalize "../" sequences and inadvertently forwards them verbatim to the upstream server by not re-encoding the "." character. Version 0.89.3 contains a patch.
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/salvo-rs/salvo/security/advisories/GHSA-f842-phm9-p4v4 x_refsource_CONFIRM
- https://github.com/salvo-rs/salvo/commit/7bac30e6960355c58e358e402072d4a3e5c4e1bb#diff-e319bf7afcb577f7e9f4fb767005072f6335d23f306dd52e8c94f3d222610d02R20 x_refsource_MISC
- https://github.com/salvo-rs/salvo/releases/tag/v0.89.3 x_refsource_MISC