ADVISORIES

GitHub Advisory Database

GHSA-47p6-69vm-vw6v

@koa/router has an Access Control Bypass

Moderate CVE-2026-9495

Details

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.

Affected packages

EcosystemPackageAffected versions
npm@koa/router
From 14.0.0 before 15.0.0 (fixed in 15.0.0)

References