CVE-2026-34715: Ewe Gleam web server - CRLF Injection
- Cve: CVE-2026-34715
- Name: Ewe Gleam web server - CRLF Injection
- Description: 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.
- Impact: Attackers can inject arbitrary HTTP responses, causing response splitting, cache poisoning, and potential cross-site scripting.
- Remediation: Update to version 3.0.6 or later.
- Vulnerability type: crlf_injection
- Vulnerability impact: web_cache_poisoning, client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00348
- Epss percentile: 0.28944
- Assignee: [email protected]
- Published at: 2026-04-02T18:16:32Z
- Age in days: 236
- Modified at: 2026-07-24T21:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-34715
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-113 | Improper Neutralization of CRLF Sequences in HTTP Headers |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpf | nvd | 2026-04-02 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/vshakitskiy/ewe/commit/ce4ff214d32626a10fda9398dc94a2d720e17446 | Patch |
| https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpf | Exploit, Vendor Advisory |
| https://github.com/vshakitskiy/ewe/releases/tag/v3.0.6 | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vshakitskiy:ewe | < 3.0.6 | no | nvd | /v1/products/vshakitskiy/ewe |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vshakitskiy/ewe | commit, package, releases, security_advisory | yes | /v1/repositories/vshakitskiy/ewe |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-02
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts