Advisory

GHSA-47p6-69vm-vw6v

Also known as: CVE-2026-9495

Summary

@koa/router has an Access Control Bypass

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-26 13:30 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

@koa/router

npm · All systems

Affected

  • introduced 14.0.0, fixed 15.0.0 (semver)

Fixed versions

15.0.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences