Every CVESearch/Get API key

CVE-2026-142247

Koa through 3.3.0 Host Header Validation Bypass via request.hostname

Explain with AI
ChatGPTClaudeGoogle AI
Severity
2.3Low
Network attack, no privileges, needs user interactionCVSS 4.0, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.52% in 30 days
Percentile45th
EPSS, scored
Listed fix
None listed
No source lists a fixed version in its version data.Check the description and references.

Overview

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.

CVSS 4.0 vector

Exploitability

Attack vector
Network
Complexity
High
Attack requirements
Present
Privileges needed
None
User interaction
Passive

Impact on the vulnerable system

Confidentiality
Low
Integrity
Low
Availability
None

Impact on subsequent systems

Confidentiality
None
Integrity
None
Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Exploit chance over time

Unchanged since Dec 3, 2026
EPSS score 0.52% every day from Dec 3, 2026 to Dec 4, 2026.

Affected

Products 1

Sources

CVE List Score usedCVSS 4.02.3

Koa through 3.3.0 Host Header Validation Bypass via request.hostname

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.

Record
CVE-2026-142247
CVSS 4.0
2.3 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-1286
Updated
2026-12-02
EUVDEUVD-2026-141583CVSS 4.02.3

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.

Record
EUVD-2026-141583
CVSS 4.0
2.3 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Updated
2026-12-02
GitHub AdvisoriesGHSA-hmmp-q352-cg4jCVSS 4.02.3

Koa through 3.3.0 fails to properly validate Host header values containing URL delimiters,...

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.

Record
GHSA-hmmp-q352-cg4j
CVSS 4.0
2.3 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-1286
Updated
2026-12-02
NVDCVSS 4.02.3

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.

Record
CVE-2026-142247
CVSS 4.0
2.3 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-1286
Updated
2026-12-02
OSVCVSS 4.02.3

Koa through 3.3.0 Host Header Validation Bypass via request.hostname

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.

Record
CVE-2026-142247
CVSS 4.0
2.3 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-1286
Updated
2026-12-03

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Published dateEUVD
Published dateEUVD
Other IDs, references, severityGitHub Advisories
Other IDs, published dateEUVD
ReferencesOSV
SeverityNVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open