4.2
MEDIUM CVSS 3.1
CVE-2026-142247
Koa through 3.3.0 Host Header Validation Bypass via request.hostname
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.

INFO

Published Date :

Dec. 2, 2026, 4:49 p.m.

Last Modified :

Dec. 2, 2026, 4:49 p.m.

Remotely Exploit :

Yes !

Source :

VulnCheck
Affected Products

The following products are affected by CVE-2026-142247 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Koajs koa
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 4.0 LOW 83251b91-4cc7-4094-a5c7-464a1b83ea10
Solution
Update Koa to a version that properly validates Host header values.
  • Update Koa to a version later than 3.3.0.
  • Validate Host header values carefully.
  • Sanitize user-supplied Host header input.
  • Implement strict hostname allowlisting.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-142247 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.