CVE-2026-34715

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

Configuration 1 (hide)

cpe:2.3:a:vshakitskiy:ewe:*:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) ewe es un servidor web Gleam. Antes de la versión 3.0.6, la función encode_headers en src/ewe/internal/encoder.gleam interpola directamente las claves y valores de los encabezados de respuesta en bytes HTTP sin procesar sin validar o eliminar las secuencias CRLF (\r\n). Una aplicación que pasa datos controlados por el usuario a los encabezados de respuesta (por ejemplo, estableciendo un encabezado de redirección Location a partir de un parámetro de solicitud) permite a un atacante inyectar contenido de respuesta HTTP arbitrario, lo que lleva a la división de respuesta, envenenamiento de caché y posible cross-site scripting. Cabe destacar que ewe sí valida CRLF en los encabezados de solicitud entrantes a través de validate_field_value() en el analizador HTTP/1.1 - pero no proporciona protección equivalente para los encabezados de respuesta salientes en el codificador. Este problema ha sido parcheado en la versión 3.0.6.

10 Apr 2026, 16:01

Type Values Removed Values Added
First Time Vshakitskiy ewe
Vshakitskiy
References () https://github.com/vshakitskiy/ewe/commit/ce4ff214d32626a10fda9398dc94a2d720e17446 - () https://github.com/vshakitskiy/ewe/commit/ce4ff214d32626a10fda9398dc94a2d720e17446 - Patch
References () https://github.com/vshakitskiy/ewe/releases/tag/v3.0.6 - () https://github.com/vshakitskiy/ewe/releases/tag/v3.0.6 - Product, Release Notes
References () https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpf - () https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpf - Exploit, Vendor Advisory
CPE cpe:2.3:a:vshakitskiy:ewe:*:*:*:*:*:*:*:*

03 Apr 2026, 16:16

Type Values Removed Values Added
References () https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpf - () https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpf -

02 Apr 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-02 18:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34715

Mitre link : CVE-2026-34715

CVE.ORG link : CVE-2026-34715


JSON object : View

Products Affected

vshakitskiy

  • ewe
CWE
CWE-113

Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')