Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @koa/router
  4. ›
  5. CVE-2026-9495

CVE-2026-9495: @koa/router has an Access Control Bypass

May 26, 2026 (updated June 30, 2026)

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.

References

  • github.com/advisories/GHSA-47p6-69vm-vw6v
  • github.com/koajs/router/commit/d53e17f284557b1f417946f9807ee52290c3c759
  • github.com/koajs/router/issues/202
  • github.com/koajs/router/pull/206
  • nvd.nist.gov/vuln/detail/CVE-2026-9495
  • security.snyk.io/vuln/SNYK-JS-KOAROUTER-12215044

Code Behaviors & Features

Detect and mitigate CVE-2026-9495 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 14.0.0 before 15.0.0

Fixed versions

  • 15.0.0

Solution

Upgrade to version 15.0.0 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

npm/@koa/router/CVE-2026-9495.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 04 Jul 2026 12:18:16 +0000.