Koa is middleware for Node.js using ES2017 async functions. Prior to versions 3.1.2 and 2.16.4, Koa's `ctx.hostname` API performs naive parsing of the HTTP Host header, extracting everything before the first colon without validating the inp…
Historical advisory saved 13 Nov 2026 08:17:20 UTC. The publisher may have updated it since then. Latest advisory.
euvd · EUVD-2026-8816
PublishedKoa is middleware for Node.js using ES2017 async functions. Prior to versions 3.1.2 and 2.16.4, Koa's `ctx.hostname` API performs naive parsing of the HTTP Host header, extracting everything before the first colon without validating the input conforms to RFC 3986 hostname syntax. When a malformed Host header containing a `@` symbol is received, `ctx.hostname` returns `evil[.]com` - an attacker-controlled value. Applications using `ctx.hostname` for URL generation, password reset links, email verification URLs, or routing decisions are vulnerable to Host header injection attacks. Versions 3.1.2 and 2.16.4 fix the issue.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Feb 26, 2026, 1:45:45 AM
dateUpdated: Jul 15, 2026, 1:12:18 AM
2 related source bulletins · separate from aliases
RHSA-2026:7249: Red Hat Security Advisory: OpenShift Container Platform 4.19.28 bug fix and security update
CVE-2025-61726 · CVE-2025-61728 · CVE-2025-68121 · CVE-2026-25639 · CVE-2026-27959
RHSA-2026:10184: Red Hat Security Advisory: RHOAI 2.25.5 - Red Hat OpenShift AI
CVE-2025-6242 · CVE-2025-11157 · CVE-2025-12103 · CVE-2025-14009 · CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-66418 · CVE-2025-66471 · CVE-2025-68131 · CVE-2025-69223 · CVE-2025-69227 · CVE-2025-69228 · CVE-2025-69534 · CVE-2026-0846 · CVE-2026-0847 · CVE-2026-1002 · CVE-2026-2472 · CVE-2026-2492 · CVE-2026-21441 · CVE-2026-22773 · CVE-2026-22807 · CVE-2026-24049 · CVE-2026-24281 · CVE-2026-24308 · CVE-2026-24486 · CVE-2026-24779 · CVE-2026-25223 · CVE-2026-25639 · CVE-2026-25679 · CVE-2026-25990 · CVE-2026-26007 · CVE-2026-26996 · CVE-2026-27137 · CVE-2026-27628 · CVE-2026-27888 · CVE-2026-27904 · CVE-2026-27959 · CVE-2026-28229 · CVE-2026-28356 · CVE-2026-30922 · CVE-2026-31837 · CVE-2026-31892 · CVE-2026-31958 · CVE-2026-32274 · CVE-2026-32597 · CVE-2026-32640 · CVE-2026-33236 · CVE-2026-33870 · CVE-2026-33871
- Source published
- Feb 26, 2026, 1:45:45 AM (timezone not stated)
- Source modified
- Jul 15, 2026, 1:12:18 AM (timezone not stated)
- Saved here
- 13 Nov 2026 08:17:20 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N