# CVE-2026-34715: ewe Has Improper Neutralization of CRLF Sequences in HTTP Headers (HTTP Request/Response Splitting)

- 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.48%, higher than 34% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T22:18:27.000Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-x2w3-23jr-hrpf
- Weaknesses: CWE-113
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- vshakitskiy ewe: < 3.0.6; before 3.0.6
- ewe (Hex): before 3.0.6

## 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`
- NVD: 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-x2w3-23jr-hrpf> (exploit, vendor-advisory, web)
- <https://github.com/vshakitskiy/ewe/commit/ce4ff214d32626a10fda9398dc94a2d720e17446> (patch, web)
- <https://github.com/vshakitskiy/ewe/releases/tag/v3.0.6> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34715> (advisory)
- <https://github.com/vshakitskiy/ewe> (package)

## Sources

- CVE List: [CVE-2026-34715](https://www.cve.org/CVERecord?id=CVE-2026-34715), CVE Terms of Use, modified 2026-04-03
- GitHub Advisory Database: [GHSA-x2w3-23jr-hrpf](https://github.com/advisories/GHSA-x2w3-23jr-hrpf), CC-BY-4.0, modified 2026-04-06
- NVD: [CVE-2026-34715](https://nvd.nist.gov/vuln/detail/CVE-2026-34715), Public domain, modified 2026-07-24

---

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