p PatchFirst

CVE-2026-56762

CVE-2026-56762 · Hono - Missing Cookie Name Validation in setCookie()

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

Hono before 4.12.12 does not validate cookie names on the write path in the setCookie(), serialize(), and serializeSigned() functions, allowing invalid characters such as control characters (e.g. \r or \n) when an application passes a user-controlled cookie name. This can produce malformed Set-Cookie header values. In modern runtimes such as Node.js and Cloudflare Workers, such invalid header values are rejected and cause a runtime error before the response is sent, so header injection or response splitting could not be reproduced; the issue primarily affects correctness and robustness, resulting in runtime errors (availability) rather than confirmed header injection.

CVSS 6.9 · Mittel · EPSS 0,4% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: node

Betroffene Produkte und Versionen

  • hono

    Softwareversionen
    • ≥ 0, < 4.12.12: Betroffen (semver)
    • 4.12.12: Nicht betroffen (semver)

    Auf 4.12.12 aktualisieren

  • hono npm

    Betroffene Versionsbereiche
    • SEMVER: < 4.12.12

    Auf 4.12.12 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →