CVE-2026-33242 Salvo has a Path Traversal in salvo-proxy::encode_url_path allows API Gateway Bypass
An unauthenticated attacker can bypass proxy routing constraints to access protected backend endpoints due to improper path normalization in the Salvo framework.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-33242?
CVE-2026-33242 is a high-severity path traversal vulnerability in salvo-rs salvo, published on 23 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-33242?
2 open source packages ship an affected version, including salvo. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
salvo crates.io | From 0.39.0 | 0.89.3 |
salvo crates.io | From 0.39.0 | 0.89.3 |
Products include Salvo Salvo.
How do I fix CVE-2026-33242?
Upgrade salvo to 0.89.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-33242 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33242 exists.
Other vulnerabilities in salvo-rs salvo
Sources
Also known as GHSA-f842-phm9-p4v4.