CVE-2026-9495: Access Control Bypass in @koa/router
Versions of the @koa/router package from 14.0.0 up to but not including 15.0.0 contain an access control bypass vulnerability. This occurs because middleware is silently dropped from the execution chain when the router prefix includes path parameters. This flaw can allow attackers to bypass authentication, authorization, rate limiting, or input sanitization protections depending on the skipped middleware.
AI Analysis
Technical Summary
CVE-2026-9495 affects @koa/router versions 14.0.0 through before 15.0.0. The vulnerability arises when the router prefix contains path parameters, causing middleware to be silently skipped in the execution chain. This leads to an access control bypass (CWE-284), potentially allowing attackers to circumvent security controls such as authentication, authorization, rate limiting, or input sanitization. The CVSS 4.0 score is 6.9 (medium severity), reflecting network attack vector, low complexity, no privileges or user interaction required, and limited confidentiality, integrity, and availability impacts. No official patch or remediation is currently documented.
Potential Impact
The vulnerability allows attackers to bypass critical security middleware protections silently, which can lead to unauthorized access or evasion of security controls like authentication, authorization, rate limiting, or input validation. This undermines the security posture of applications using affected versions of @koa/router and can facilitate further exploitation depending on the skipped middleware's role.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using router prefixes with path parameters or implement additional manual checks to ensure middleware execution. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-9495: Access Control Bypass in @koa/router
Description
Versions of the @koa/router package from 14.0.0 up to but not including 15.0.0 contain an access control bypass vulnerability. This occurs because middleware is silently dropped from the execution chain when the router prefix includes path parameters. This flaw can allow attackers to bypass authentication, authorization, rate limiting, or input sanitization protections depending on the skipped middleware.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-9495 affects @koa/router versions 14.0.0 through before 15.0.0. The vulnerability arises when the router prefix contains path parameters, causing middleware to be silently skipped in the execution chain. This leads to an access control bypass (CWE-284), potentially allowing attackers to circumvent security controls such as authentication, authorization, rate limiting, or input sanitization. The CVSS 4.0 score is 6.9 (medium severity), reflecting network attack vector, low complexity, no privileges or user interaction required, and limited confidentiality, integrity, and availability impacts. No official patch or remediation is currently documented.
Potential Impact
The vulnerability allows attackers to bypass critical security middleware protections silently, which can lead to unauthorized access or evasion of security controls like authentication, authorization, rate limiting, or input validation. This undermines the security posture of applications using affected versions of @koa/router and can facilitate further exploitation depending on the skipped middleware's role.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using router prefixes with path parameters or implement additional manual checks to ensure middleware execution. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-05-25T09:18:41.020Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a153cbca5ae1af1aa706ad7
Added to database: 05/26/2026, 06:25:00 UTC
Last enriched: 06/30/2026, 23:53:23 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 88
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.