CVE-2026-32881 Details
Description
ewe is a Gleam web server. ewe is a Gleam web server. Versions 0.6.0 through 3.0.4 are vulnerable to authentication bypass or spoofed proxy-trust headers. Chunked transfer encoding trailer handling merges declared trailer fields into req.headers after body parsing, but the denylist only blocks 9 header names. A malicious client can exploit this by declaring these headers in the Trailer field and appending them after the final chunk, causing request.set_header to overwrite legitimate values (e.g., those set by a reverse proxy). This enables attackers to forge authentication credentials, hijack sessions, bypass IP-based rate limiting, or spoof proxy-trust headers in any downstream middleware that reads headers after ewe.read_body is called. This issue has been fixed in version 3.0.5.
A vulnerability allowing authentication bypass or spoofing of proxy-trust headers has been identified in the Gleam web server 'ewe', specifically in versions 0.6.0 prior to 3.0.5. The issue arises in the handling of chunked transfer encoding trailers, where declared trailer fields are merged into request headers after the body has been parsed. However, the current denylist only blocks nine specific header names, leaving security-sensitive headers vulnerable to injection or overwriting by malicious clients. This exploitation can bypass authentication, hijack sessions, and spoof proxy-trust headers in downstream middleware that processes headers after the 'ewe.read_body' function is called.
Users can update to 'ewe' version 3.0.5, which addresses this vulnerability by fixing the trailer handling and expanding the denylist to include security-sensitive headers.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 20, 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-183 | Permissive List of Allowed Inputs | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vshakitskiy ewe | < 3.0.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 23, 2026 | Initial Analysis | [email protected] |
| Mar 20, 2026 | New CVE Received | [email protected] |