Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33242: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in salvo-rs salvo

0
High
VulnerabilityCVE-2026-33242cvecve-2026-33242cwe-22
Published: Mon Mar 23 2026 (03/23/2026, 23:40:39 UTC)
Source: CVE Database V5
Vendor/Project: salvo-rs
Product: salvo

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/24/2026, 00:15:15 UTC

Technical Analysis

The vulnerability identified as CVE-2026-33242 affects the salvo-rs web framework, a Rust-based framework widely used for building web applications. The issue lies in the salvo-proxy component, where the encode_url_path function inadequately handles URL path normalization. Specifically, it fails to re-encode the '.' character, allowing '../' sequences to be forwarded verbatim to upstream servers. This improper limitation of pathname (CWE-22) results in a path traversal vulnerability, enabling attackers to circumvent proxy routing constraints. Consequently, an unauthenticated external attacker can access backend resources that should be restricted, such as administrative dashboards or protected API endpoints. The vulnerability spans versions 0.39.0 through 0.89.2, with a fix introduced in version 0.89.3. The CVSS 3.1 base score is 7.5, reflecting a high severity due to the vulnerability's network attack vector, low attack complexity, no required privileges or user interaction, and high impact on confidentiality. Although no exploits have been observed in the wild, the ease of exploitation and potential access to sensitive backend resources pose significant risks.

Potential Impact

This vulnerability can have serious consequences for organizations deploying applications using the affected versions of salvo-rs. Attackers can bypass proxy routing controls to access sensitive backend systems, potentially exposing confidential data or administrative interfaces. While the vulnerability does not directly affect data integrity or availability, unauthorized access to protected endpoints can lead to further exploitation, data leakage, or unauthorized configuration changes. The lack of authentication requirements and the ability to exploit remotely increase the risk of widespread attacks. Organizations relying on salvo-rs for critical web services, especially those exposing administrative or sensitive APIs behind proxies, face elevated risks of data breaches and unauthorized access. The impact is amplified in environments where salvo-proxy is used as a security boundary or access control mechanism.

Mitigation Recommendations

To mitigate this vulnerability, organizations should upgrade all instances of salvo-rs to version 0.89.3 or later, where the encode_url_path function properly normalizes and re-encodes path segments to prevent traversal. In addition to upgrading, it is advisable to implement strict input validation and URL normalization at the proxy and application layers to detect and block suspicious path traversal patterns. Deploying web application firewalls (WAFs) with rules targeting path traversal attempts can provide an additional defense layer. Monitoring logs for unusual access patterns or attempts to access administrative paths can help detect exploitation attempts early. Network segmentation should be used to limit backend system exposure, and access controls should be enforced independently of proxy routing to reduce reliance on a single security mechanism. Regular security audits and code reviews of proxy components are recommended to identify similar issues proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-18T02:42:27.508Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c1d434f4197a8e3ba042a4

Added to database: 3/24/2026, 12:00:52 AM

Last enriched: 3/24/2026, 12:15:15 AM

Last updated: 3/24/2026, 4:41:16 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses