@koa/router
Affected
- introduced
14.0.0, fixed15.0.0(semver)
Fixed versions
15.0.0
Fix
- Fixed version
15.0.0npm install @koa/[email protected]
Advisory
Also known as: CVE-2026-9495
@koa/router has an Access Control Bypass
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.
Medium Basis: The source's own band: MODERATE
14.0.0, fixed 15.0.0 (semver)15.0.0
15.0.0npm install @koa/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0