CVE-2026-51785 Details
Description
An issue in Hugo Leisink Hiawatha v.12.1 and before allows a remote attacker to execute arbitrary code via a crafted request
A remote code execution vulnerability has been identified in Hugo Leisink Hiawatha versions through 12.1. This vulnerability arises from improper handling of HTTP requests that include both 'Transfer-Encoding' and 'Content-Length' headers. Hiawatha prioritizes 'Content-Length' over 'Transfer-Encoding', contrary to RFC 9112, and when acting as a reverse proxy, it forwards the request to the backend without removing the original 'Content-Length' header. An attacker can exploit this flaw to desynchronize the frontend and backend servers, potentially leading to unauthorized code execution.
Upgrade to Hiawatha version 12.2 or later, which addresses this vulnerability by properly handling ambiguous 'Content-Length' and 'Transfer-Encoding' requests. If an immediate upgrade is not possible, consider using a standards-compliant proxy to reject or normalize such requests before they reach the Hiawatha server.
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 31, 2026CISA-ADP
Assessed Aug 3, 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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://fenrisk.com/hiawatha-http-smuggling | CISA-ADP | ExploitRemedyTechnical Analysis |
| https://fenrisk.com/hiawatha-http-smuggling | [email protected] | ExploitRemedyTechnical Analysis |
| https://www.rfc-editor.org/rfc/rfc2616 | [email protected] | |
| https://www.rfc-editor.org/rfc/rfc2616.html#section-4.4 | [email protected] | |
| https://www.rfc-editor.org/rfc/rfc9112.html#section-6.3 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Hugo Leisink Hiawatha | <= 12.1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2026 | New CVE Received | [email protected] |
Volerion