


Perceptive Security
SOC/SIEM Consultancy

Rouille 0.1.6 through 3.6.2 contains a reachable assertion vulnerability in the Request::remove_prefix function that allows remote unauthenticated attackers to …
Published:
27 July 2026 at 22:00:00
Alert date:
28 July 2026 at 17:04:58
Source:
nvd.nist.gov
Web Technologies, Supply Chain & Dependencies
CVE-2026-66754 affects Rouille versions 0.1.6 through 3.6.2, a Rust web framework. The vulnerability resides in the Request::remove_prefix function, which contains a reachable assertion that can be triggered by remote unauthenticated attackers. By sending a crafted percent-encoded URL where the decoded path matches a configured prefix but the raw encoded path does not, attackers cause the assert! macro to fail. Depending on the panic configuration, this results in either a 500 Internal Server Error or full process termination. This makes it a denial-of-service vulnerability exploitable without any authentication. No special privileges or user interaction are required to exploit this flaw. The issue is caused by inconsistent handling of percent-encoded versus decoded URL paths in prefix matching logic.
Technical details
Mitigation steps:
Affected products:
Rouille 0.1.6 through 3.6.2
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-66754
https://github.com/theopaid/Remote-Denial-of-Service-via-Reachable-Assertion-in-URL-Prefix-Handling-rouille-
https://www.vulncheck.com/advisories/rouille-reachable-assertion-dos-via-remove-prefix-percent-encoding
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
