# CVE-2026-32881: ewe has an Overly Permissive List of Allowed Inputs

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T20:49:36.000Z
- Modified: 2026-06-17T10:36:30.087Z
- Also known as: GHSA-9w88-79f8-m3vp
- Weaknesses: CWE-183
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vshakitskiy ewe: >= 0.6.0, < 3.0.5; before 3.0.5
- ewe (Hex): from 0.6.0 before 3.0.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/vshakitskiy/ewe/security/advisories/GHSA-9w88-79f8-m3vp> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/vshakitskiy/ewe/commit/07dcfd2135fc95f38c17a9d030de3d7efee1ee39> (patch, web)
- <https://github.com/vshakitskiy/ewe/commit/94ab6e7bf7293e987ae98b4daa51ea131c2671ba> (patch, web)
- <https://github.com/vshakitskiy/ewe/releases/tag/v3.0.5> (patch, product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32881> (advisory)
- <https://github.com/vshakitskiy/ewe> (package)

## Sources

- CVE List: [CVE-2026-32881](https://www.cve.org/CVERecord?id=CVE-2026-32881), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-9w88-79f8-m3vp](https://github.com/advisories/GHSA-9w88-79f8-m3vp), CC-BY-4.0, modified 2026-03-20
- NVD: [CVE-2026-32881](https://nvd.nist.gov/vuln/detail/CVE-2026-32881), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32881 · Whole record: https://cve.day/CVE-2026-32881.json · Rebuilt by cve.day 2026-11-25T22:59:16.252Z
