ewe Has Improper Neutralization of CRLF Sequences in HTTP Headers (HTTP Request/Response Splitting)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
ewe is a Gleam web server. Prior to version 3.0.6, the encode_headers function in src/ewe/internal/encoder.gleam directly interpolates response header keys and values into raw HTTP bytes without validating or stripping CRLF (\r\n) sequences. An application that passes user-controlled data into response headers (e.g., setting a Location redirect header from a request parameter) allows an attacker to inject arbitrary HTTP response content, leading to response splitting, cache poisoning, and possible cross-site scripting. Notably, ewe does validate CRLF in incoming request headers via validate_field_value() in the HTTP/1.1 parser — but provides no equivalent protection for outgoing response headers in the encoder. This issue has been patched in version 3.0.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vshakitskiy | ewe | before 3.0.6 | 3.0.6 | Patch available | CNA |
| — | ewe (Hex) | before 3.0.6 | 3.0.6 | Patch available | GHSA-x2w3-23jr-hrpf |
- ewe Vendorvshakitskiy Affected before 3.0.6 Fixed in 3.0.6 Patch available CNA
- ewe (Hex) Vendor— Affected before 3.0.6 Fixed in 3.0.6 Patch available GHSA-x2w3-23jr-hrpf
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vshakitskiy:ewe:*:*:*:*:*:*:*:* | before 3.0.6 | Vulnerable | vshakitskiy |
- cpe:2.3:a:vshakitskiy:ewe:*:*:*:*:*:*:*:* Versions before 3.0.6 Vulnerable ·vshakitskiy
Remediation
- Fix · CNA ewe (vshakitskiy) Fixed in 3.0.6
- Fix · GHSA-x2w3-23jr-hrpf ewe (Hex) Fixed in 3.0.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34715
- 2026-10-03 Alias added: GHSA-x2w3-23jr-hrpf
References
More vshakitskiy Ewe vulnerabilities
- TI-2026-25333 ewe: Loop with Unreachable Exit Condition ('Infinite Loop') CVSS 3.1HIGH 7.5
- TI-2026-25340 ewe has an Overly Permissive List of Allowed Inputs CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-34715 · CVE Program
- CVE-2026-34715 · NVD
- FIRST EPSS
- GHSA-x2w3-23jr-hrpf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences