CVE-2026-142247
Last modified
CVE-2026-142247 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. 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.. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| koajs | Koa | <= 3.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-142247?
How severe is CVE-2026-142247?
How do I fix CVE-2026-142247?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142241Mljar Mercury from 3.0.1 before 3.2.12 contains a missing au…7.5
- CVE-2026-142242JJWT through 0.13.0 contains an unbounded decompression vuln…5.9
- CVE-2026-142243Ncarlier webhookd from 1.21.0 before 1.22.1 contains a path …8.1
- CVE-2026-142244Ncarlier webhookd through 1.22.1 contains an authentication …4.8
- CVE-2026-142245kin-openapi through 0.153.0 contains an authentication bypas…7.4
- CVE-2026-142246KEDA through 2.21.1 contains a nil pointer dereference vulne…7.7
- CVE-2026-142248MLflow through 3.18.0 contains a server-side request forgery…4.2
- CVE-2026-142249Portainer through 2.45.4 contains an information disclosure …4.3
- CVE-2026-14225The Easy Appointments WordPress plugin before 3.12.28 does n…2.7
- CVE-2026-142250Portainer through 2.45.4 contains an authorization bypass vu…6.5
- CVE-2026-142251Sanic through 25.12.1 contains an HTTP request smuggling vul…4.8
- CVE-2026-142252Komodo through 2.3.4 contains a missing authorization vulner…4.3
Are you affected by CVE-2026-142247?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
