{"id":"CVE-2026-32881","published":"2026-03-20T01:18:55Z","modified":"2026-03-20T20:03:41Z","title":"ewe has an Overly Permissive List of Allowed Inputs","vendor":"vshakitskiy","product":"ewe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00582,"percentile":0.41763,"provenance":"source"},"cwes":[{"id":"CWE-183","name":"Permissive List of Allowed Inputs"}],"references":[{"url":"https://github.com/vshakitskiy/ewe/security/advisories/GHSA-9w88-79f8-m3vp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vshakitskiy/ewe/commit/07dcfd2135fc95f38c17a9d030de3d7efee1ee39","tags":["x_refsource_MISC"]},{"url":"https://github.com/vshakitskiy/ewe/commit/94ab6e7bf7293e987ae98b4daa51ea131c2671ba","tags":["x_refsource_MISC"]},{"url":"https://github.com/vshakitskiy/ewe/releases/tag/v3.0.5","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":8.35},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"vshakitskiy","affectedVersions":[{"vendor":"vshakitskiy","product":"ewe","versions":[">= 0.6.0, < 3.0.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-20T20:03:32.503096Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"ewe","vulnerableRanges":[">=0.6.0, <3.0.5"],"patched":["3.0.5"],"from":["GHSA-9w88-79f8-m3vp"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-13431","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vshakitskiy-ewe-cve-2026-32881","children":[{"from":"CVE-2026-32881","to":"CVE-2026-34715","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Hex:ewe","fromFixed":"3.0.5","toFixed":"3.0.6","daysApart":13},{"kind":"same-code","provenance":"machine","files":["src/ewe/internal/http1.gleam"],"commits":["https://github.com/vshakitskiy/ewe/commit/07dcfd2135fc95f38c17a9d030de3d7efee1ee39","https://github.com/vshakitskiy/ewe/commit/94ab6e7bf7293e987ae98b4daa51ea131c2671ba","https://github.com/vshakitskiy/ewe/commit/ce4ff214d32626a10fda9398dc94a2d720e17446"],"basis":"shared function","functions":["handle_trailers"]},{"kind":"similar","provenance":"machine","score":0.37,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-32873","published":"2026-03-20","fixed":"3.0.5","kev":false},{"cve":"CVE-2026-32881","published":"2026-03-20","fixed":"3.0.5","kev":false},{"cve":"CVE-2026-34715","published":"2026-04-02","fixed":"3.0.6","kev":false}],"package":"Hex:ewe"}}