CVE-2026-66746 Details
Description
Rouille 0.4.0 through 3.6.2 contains an HTTP response splitting vulnerability that allows remote attackers to inject arbitrary response headers by embedding carriage return (0x0D) or line feed (0x0A) bytes into attacker-controlled input. Attackers can exploit percent-decoded query parameters reflected into response headers or inject bare LF characters into Cookie header values that are interpolated directly into Set-Cookie response headers, enabling cache poisoning, session fixation, and security header override attacks such as bypassing CSP or CORS policies.
An HTTP response splitting vulnerability has been identified in Rouille versions 0.4.0 through 3.6.2. This vulnerability allows remote attackers to inject arbitrary response headers by embedding carriage return or line feed bytes into attacker-controlled input. The issue arises because the application does not validate header values before sending them in the response. Attackers can exploit percent-decoded query parameters that are reflected into response headers or inject bare line feed characters into Cookie header values. This unvalidated input is then directly interpolated into Set-Cookie response headers, leading to potential cache poisoning, session fixation, and the ability to override security headers such as Content Security Policy or Cross-Origin Resource Sharing policies.
Header values should be validated in the Server::process function before they are passed to tiny_http. Additionally, the session key validation in the session::session function should be improved to reject invalid cookie values and generate new session IDs.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 28, 2026CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-113 | Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Rouille | >= 0.4.0, <= 3.6.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2026 | New CVE Received | [email protected] |
Volerion