{"answers":{"affected":"2 open source packages ship an affected version, including @koa/router.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-9495 exists.","fix":"Upgrade @koa/router to 15.0.0 or later.","what":"CVE-2026-9495 is a medium-severity authentication bypass vulnerability in @koa/router, published on 26 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-9495 and fix it if it is affected.\n\nWhat it is: CVE-2026-9495 is a medium-severity authentication bypass vulnerability in @koa/router, published on 26 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-9495 exists.\n\nAffected packages and fixed versions:\n- @koa/router (npm): affected from 14.0.0; fixed in 15.0.0\n- @koa/router (npm): affected from 14.0.0; fixed in 15.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-9495/ (Markdown: https://insights.sbomify.com/CVE-2026-9495/index.md)","id":"CVE-2026-9495","markdown":"https://insights.sbomify.com/CVE-2026-9495/index.md","name":"CVE-2026-9495","record":{"aliases":["GHSA-47p6-69vm-vw6v"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Koa router library","requires_auth":"none","summary":"Attackers can bypass authentication, authorization, or rate limiting by exploiting a flaw where middleware is silently dropped when router prefixes contain path parameters.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"@koa/router has an Access Control Bypass","id":"CVE-2026-9495","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"pacote is vulnerable to Denial of Service (DoS) via the addGitSha function","id":"CVE-2026-9496"},"packages":[{"ecosystem":"npm","fixed":["15.0.0"],"introduced":["14.0.0"],"last_affected":[],"package":"@koa/router","purl":null,"source":"GHSA-47p6-69vm-vw6v"},{"ecosystem":"npm","fixed":["15.0.0"],"introduced":["14.0.0"],"last_affected":[],"package":"@koa/router","purl":"pkg:npm/%40koa/router","source":"GHSA-47p6-69vm-vw6v"}],"prev":{"headline":"ubuntu-pro-client Information Disclosure via Cleartext Bearer Token Exposure in Process Command Line","id":"CVE-2026-9494"},"products":["@koa/router"],"published":"2026-05-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-26","vendors":["n/a"]},"summary":"Attackers can bypass authentication, authorization, or rate limiting by exploiting a flaw where middleware is silently dropped when router prefixes contain path parameters.","url":"https://insights.sbomify.com/CVE-2026-9495/"}