SecurityContext

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

IdName
CWE-113Improper Neutralization of CRLF Sequences in HTTP Headers

Public exploits

UrlSourceAdded date
https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpfnvd2026-04-02

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/vshakitskiy/ewe/commit/ce4ff214d32626a10fda9398dc94a2d720e17446Patch
https://github.com/vshakitskiy/ewe/security/advisories/GHSA-x2w3-23jr-hrpfExploit, Vendor Advisory
https://github.com/vshakitskiy/ewe/releases/tag/v3.0.6Product, Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
vshakitskiy:ewe< 3.0.6nonvd/v1/products/vshakitskiy/ewe

Projects

RepositoryLink kindsIndexedUrl
vshakitskiy/ewecommit, package, releases, security_advisoryyes/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