{"id":"CVE-2026-32881","summary":"ewe has an Overly Permissive List of Allowed Inputs","details":"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.","aliases":["GHSA-9w88-79f8-m3vp"],"modified":"2026-04-02T13:26:21.300722Z","published":"2026-03-20T01:18:55.382Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-183"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32881.json"},"references":[{"type":"WEB","url":"https://github.com/vshakitskiy/ewe/releases/tag/v3.0.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32881.json"},{"type":"ADVISORY","url":"https://github.com/vshakitskiy/ewe/security/advisories/GHSA-9w88-79f8-m3vp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32881"},{"type":"FIX","url":"https://github.com/vshakitskiy/ewe/commit/07dcfd2135fc95f38c17a9d030de3d7efee1ee39"},{"type":"FIX","url":"https://github.com/vshakitskiy/ewe/commit/94ab6e7bf7293e987ae98b4daa51ea131c2671ba"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vshakitskiy/ewe","events":[{"introduced":"cad582d79ac38b16781dc01beeb4882f18663094"},{"fixed":"25a0d3d527954394415630544a3138068a4a4f88"}]}],"versions":["v0.10.0","v0.6.0","v0.7.0","v0.8.0","v0.8.1","v0.9.0","v1.0.0","v1.0.0-rc1","v1.0.0-rc2","v1.0.1","v2.0.0","v2.0.1","v2.0.2","v2.0.3","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32881.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}