CVE-2026-34715
Last modified
CVE-2026-34715 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vshakitskiy | Ewe | < 3.0.6 |
References
- https://github.com/vshakitskiy/ewe/releases/tag/v3.0.6Product, Release Notes
- https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpfExploit, Vendor Advisory
- https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpfExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-34715?
How severe is CVE-2026-34715?
How do I fix CVE-2026-34715?
Are you affected by CVE-2026-34715?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
