What happened#
Hono is a small web framework that runs on Node.js, Cloudflare Workers, Deno, Bun and other runtimes. The advisories were published by the maintainers on 1 and 2 November 2026 and were reviewed and added to GitHub’s advisory database on 12 November, which is why they are surfacing now. The registry shows hono@4.13.16 was published on 1 November, and @hono/node-server 2.1.6 and 1.19.18 on 2 November.
None of the seven is rated above Moderate. What they have in common, according to the advisories, is that code developers use as a gatekeeper (path-scoped middleware, csrf(), form validation) could be skipped by a request shaped in a particular way. That makes them worth a look even at a Moderate rating, because the impact depends on what sits behind the middleware.
The advisories#
| Issue | ID | Severity | Fixed in |
|---|---|---|---|
| mount() can forward a path that bypasses scoped middleware | CVE-2026-126357 | Moderate, 5.3 | hono 4.13.16 |
| RegExpRouter skips wildcard middleware for some routes | CVE-2026-126358 | Moderate, 5.3 | hono 4.13.16 |
| csrf() does not check hyperlink-auditing requests | CVE-2026-126355 | Moderate, 5.3 | hono 4.13.16 |
| validator('form') skips multipart requests with extra parameters | CVE-2026-126356 | Moderate, 5.3 | hono 4.13.16 |
| css helper does not escape a split closing tag (HTML injection) | CVE-2026-126359 | Low, 3.4 | hono 4.13.16 |
| Backslash in the request path bypasses proxy path rules | CVE-2026-126210 | Moderate, 5.3 | @hono/node-server 2.1.6, 1.19.18 |
| Unhandled ECONNRESET in WebSocket upgrade can crash the process | CVE-2026-126343 | Moderate, 5.3 | @hono/node-server 2.1.6 |
In plain terms, per the advisories:
- mount().
mount()strips a prefix and forwards the rest to a mounted app. Two flaws let a crafted request reach a mounted route that the outer app protects with path-scoped middleware: dynamic prefixes were trimmed by the pattern’s length rather than the matched length, and since 4.12.21 the decoded path was re-normalised, which turns encoded backslashes into slashes and collapses... The advisory says this lets unauthenticated clients reach protected routes in apps that rely on sub-path middleware inside a mount prefix for auth. Its workaround is to register the authentication middleware inside the mounted app. - RegExpRouter. The advisory says this router, which the default SmartRouter often selects, sometimes skipped wildcard middleware in three cases: a parameter written with the explicit default pattern such as
{[^/]+}; middleware on/admin/*not applying to a route registered as/admin*; and paths containing an encoded line terminator. It affects 4.1.4 through 4.13.15, and its workaround is to useTrieRouter. - csrf(). The middleware only checked requests whose content type an HTML form can send. Chromium’s hyperlink auditing (
<a ping>) sends a cross-origin POST with cookies and the content typetext/ping, which was skipped. The advisory says the exposed endpoints are those whose effect doesn’t depend on the request body, and that with the defaultSameSite=Laxcookie the session cookie only goes cross-site for a same-site origin or aSameSite=Nonecookie. It says Firefox does not send pings by default. - validator('form'). A
multipart/form-dataheader with a parameter other thanboundary, such ascharset, was not recognised, so the validator handed an empty object to your callback without reading the body, while the handler could still read the fields itself. It affects 4.5.1 through 4.13.15 and doesn’t affectapplication/x-www-form-urlencoded. - css helper. Rated Low. It only matters when an untrusted value is interpolated directly after a
<in the template text, or when adjacent untrusted values are interpolated. - @hono/node-server, path. The adapter passed the raw request target to the URL parser, which treats a backslash as a slash. The advisory says this matters when a reverse proxy, load balancer or WAF keeps the backslash and applies path rules to the original path. It says access control inside the Hono app is not affected, because it runs on the rewritten path.
- @hono/node-server, WebSocket. With WebSocket support enabled and asynchronous middleware on the upgrade path, an unauthenticated client that resets the connection before the app responds can crash the process. It affects
2.0.0up to2.1.6only.
Am I affected?#
Each advisory is conditional, so the quickest check is to search your code for the feature involved. The fixed versions from the table are the baseline: anything on hono before 4.13.16, or on @hono/node-server before 2.1.6 (or 1.19.18 on the 1.x line), is on the affected side.
| Look for | Then check |
|---|---|
app.mount( | Is authentication or authorization middleware registered on the outer app, scoped by path to the mount prefix? |
app.use('/something/*', ...) | Do you use the default router (or RegExpRouter) with wildcard middleware for auth? Do any routes use the form /prefix* or custom parameter patterns? |
csrf() | Do any state-changing routes ignore the request body? Are your session cookies SameSite=None, or served to a same-site origin? |
validator('form', ...) | Does your callback accept an empty object? Does the handler later read the body itself? |
css`...` | Is any interpolated value user-controlled, directly after a < character? |
@hono/node-server | Do you sit behind a proxy or WAF with path-based rules, or use WebSocket upgrades with async work? |
What to do now#
- Find your versions. Check every project that uses Hono, including monorepo packages, and anything that bundles it.
- Upgrade
honoto4.13.16or later (the registry’s latest is4.13.18), and@hono/node-serverto2.1.6or later, or1.19.18if you are on the 1.x line. - Read the breaking changes before deploying. The release notes say
mount()now throws for routes such as/assets*and for duplicate parameter names, that RegExpRouter throwsUnsupportedPathErrorfor custom patterns that can match an empty string, and that anyPreparedRegExpRouterdata must be regenerated. Run your tests and start the app once before you ship. - Add depth where you can. The advisories’ own workarounds point the same way: keep authentication inside the app that owns the routes, validate the parsed body in the handler, and use
SameSite=Strictcookies where your flows allow it.
# Which Hono versions do you have (including nested ones)?
npm ls hono @hono/node-server
# Where do you use the affected features?
grep -rnE "\.mount\(|csrf\(|validator\('form'|SmartRouter|RegExpRouter" src 2>/dev/null
# Update
npm install hono@latest @hono/node-server@latestThe advisories don’t say whether any of these has been exploited, and none lists indicators to look for. If you relied on the affected middleware for access control on a public app, a sensible precaution is to review your access logs for requests with unusual paths (backslashes, encoded line breaks) hitting protected routes. That is my own suggestion, not advice from the advisories.
How I checked this site#
This site is a Next.js project on Vercel. I searched its package.json and package-lock.json for hono and found no match, so it does not depend on Hono directly or through another package. That covers this repository only.
What the sources don’t say#
- Whether anyone has exploited any of the seven. The advisories don’t say either way.
- How many apps are in the affected configurations. Hono is widely used, but the conditions above are narrow, and the advisories give no numbers.
- I did not read independent coverage. My second source is the npm registry, for versions, publish dates and peer dependencies, plus the project’s own release notes.
My take#
My own opinion, not from the advisories.
Several of these seven are really the same lesson: a path check done in one place and a route match done in another can disagree. If you can, put authorization checks next to the handler (or inside the mounted app) rather than relying only on a path-scoped wrapper around it, and treat a change in how paths are normalised as something to test, not just to upgrade past.
Sources#
- GitHub advisory database: GHSA-4m76-xfj5-7975, GHSA-h7mg-cq63-vhpq, GHSA-46wx-v44x-9hh2, GHSA-4h7h-rv7c-7m2v, GHSA-3gg2-335m-rxc6, GHSA-jpvv-r467-5p4w and GHSA-qv5m-9pm6-hqp3, primary sources for the flaws, severity, affected ranges and patched versions
- Hono project: v4.13.16 release notes (security fixes and breaking changes)
- npm: hono package metadata and @hono/node-server package metadata (version numbers, publish times and peer dependencies)
Keep reading
7 min read
Mongoose advisories, November 2026 (CVE-2026-125120 and four more): what to upgrade to, and how to check your queries
Five Mongoose advisories, one Critical (CVSS 9.8): sanitizeFilter was skipped on countDocuments and on the connection-level option. Patched versions and how to check.
8 min read
Nuxt 4.6.4 security release: eight advisories, including two route-rule and middleware bypasses. What to upgrade to, and how to check your app
Nuxt 4.6.4 fixes eight advisories: a leading // and an encoded %2F that can skip middleware and route rules, a dev-server file read, leaked error details and more.