StraitOfVuln
Latest / CVE-2026-142247

CVE-2026-142247

MediumCVSS 4.2 (v3.1)Received
CVE.org ↗NVD ↗

Description

Koa through 3.3.0 fails to properly validate Host header values containing URL delimiters, allowing remote attackers to bypass hostname allowlists in request.host and request.hostname. Attackers can send a Host header with a backslash, slash, question mark, or hash so ctx.hostname ends with a trusted domain while ctx.href resolves to an attacker host, poisoning redirects and password reset links.

Details

CVE ID
CVE-2026-142247
Published / updated
02 Dec 2026, 17:17 UTC · last modified 02 Dec 2026, 23:18 UTC
Severity
MEDIUM
CVSS score
4.2 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N · Attack vector: Network
Affected vendor
koajs
Affected products
Koa
Affected versions
Koa: up to 3.3.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
—
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com