Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-9495
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:36 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-9495
Complete source record
{
"id": "8e4a388f0faf76d98a7802b71697e6ad32299603aec3d2b4d353f921dbc9ba8e",
"url": "https://osv.dev/vulnerability/CVE-2026-9495",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-9495",
"summary": "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.",
"evidence": "osv:CVE-2026-9495",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-9495",
"aliases": [
"CVE-2026-9495",
"GHSA-47p6-69vm-vw6v"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/koajs/router",
"type": "GIT",
"events": [
{
"introduced": "bc67eef59aa02d988becc048b8f99dbdaaa2580c"
},
{
"fixed": "b65d6aee875cc0065082d4a95cc54856cc57c37e"
},
{
"fixed": "d53e17f284557b1f417946f9807ee52290c3c759"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "14.0.0"
},
{
"fixed": "15.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "d53e17f284557b1f417946f9807ee52290c3c759"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v14.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9495.json"
}
}
],
"modified": "2026-10-28T02:30:38.418729156Z",
"provider": "osv",
"references": [
"https://security.snyk.io/vuln/SNYK-JS-KOAROUTER-12215044",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9495.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-9495",
"https://github.com/koajs/router/issues/202",
"https://github.com/koajs/router/commit/d53e17f284557b1f417946f9807ee52290c3c759",
"https://github.com/koajs/router/pull/206"
],
"provider_metadata": {
"cwe_ids": [
"CWE-284"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9495.json"
}
},
"related_cves": [
{
"value": "CVE-2026-9495",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505748,
"published_at": "2026-05-26T05:00:04.704+00:00"
}