GitHub Advisoryadvisory · npm
GHSA-47p6-69vm-vw6v @koa/router has an Access Control Bypass
MEDIUM
Official page ↗
- Aliases
- CVE-2026-9495
- Ecosystem
- npm
- Packages
- @koa/router
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-284
- Reviewed
- 2026-06-30
Affected packages
• npm @koa/router: >= 14.0.0, < 15.0.0 → fixed in 15.0.0
Description
Versions of the package @koa/router from 14.0.0 and before 15.0.0 are vulnerable to Access Control Bypass due to the middleware being silently dropped from the execution chain when the router prefix contains path parameters. Depending on what the skipped middleware was supposed to protect, an attacker could bypass authentication and authorization, evade rate limiting or bypass input sanitization.
Related
Alias · CVE (1)
- CVE-2026-9495 Versions of the package @koa/router from 14.0.0 and before 15.0.0 are vulnerable to Access Control Bypass due to the middleware being… vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-9495 advisory
- https://github.com/koajs/router/issues/202 web
- https://github.com/koajs/router/pull/206 web
- https://github.com/koajs/router/commit/d53e17f284557b1f417946f9807ee52290c3c759 web
- https://github.com/koajs/router package
- https://security.snyk.io/vuln/SNYK-JS-KOAROUTER-12215044 web