GitHub Advisoryadvisory · npm

GHSA-47p6-69vm-vw6v @koa/router has an Access Control Bypass

MEDIUM Published 2026-05-26 Modified 2026-06-30 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