CVE-2026-9495
Versions of the package @koa/router from 14.0.0 and before 15.0.0 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/koajs/router/commit/d53e17f284557b1f417946f9807ee52290c3c759
- github.com/koajs/router/issues/202
- github.com/koajs/router/pull/206
- security.snyk.io/vuln/SNYK-JS-KOAROUTER-12215044
- nvd.nist.gov/vuln/detail/CVE-2026-9495
- github.com/advisories/GHSA-47p6-69vm-vw6v
- nvd.nist.gov/vuln/detail/CVE-2026-9495
- cve.org/CVERecord?id=CVE-2026-9495
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.