Skip to content
FlawDB
Sign in

CVE-2026-126358

MEDIUM 5.3EPSS 33%

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

Also known as GHSA-h7mg-cq63-vhpq

Mitigation

  • Upgrade hono to 4.13.16 or later.

Who should check

  • Projects that depend on npm package hono (>= 4.1.4, <= 4.13.15)
  • Anyone running honojs hono >= 4.1.4, < 4.13.16

Vulnerability facts

Affected
hono >= 4.1.4, <= 4.13.15
Fixed in
4.13.16
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.48% chance of exploitation in 30 days (percentile 33, 2026-11-26)
CWE
CWE-863
Published
Modified

Description

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.1.4 until 4.13.16, RegExpRouter can omit wildcard middleware in three version-specific cases: since 4.13.0, middleware using the explicit default parameter pattern in /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id; since 4.1.4, middleware on /admin/* is not applied to a route registered as /admin* for paths under /admin/; and since 4.4.0, a request path containing an encoded line terminator can reach the not-found handler without wildcard middleware. The default SmartRouter selects RegExpRouter for most applications, and the router's registration-time coverage calculation treated the first two matching pattern pairs as different while its compiled wildcard did not match line terminators in the third case. An unauthenticated client can reach a route handler or the not-found handler without authentication or authorization middleware registered on the wildcard path. TrieRouter, LinearRouter, and PatternRouter apply the middleware in the three described cases. This issue is fixed in version 4.13.16.

Affected and fixed versions

Package / productAffectedFixedSource
npm hono>= 4.1.4, <= 4.13.154.13.16ghsa
honojs hono>= 4.1.4, < 4.13.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-126358. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-126358.md
Affected: hono >= 4.1.4, <= 4.13.15
Fixed in: 4.13.16

Steps:
1. Search this machine and project for hono (npm), honojs hono: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-126358 being exploited?

There is no confirmed exploitation: CVE-2026-126358 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-126358?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-126358?

hono >= 4.1.4, <= 4.13.15.

Is there a fix for CVE-2026-126358?

Yes. Fixed in 4.13.16. Upgrade hono to 4.13.16 or later.

How do I check if I'm affected by CVE-2026-126358?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
LOW 3.4CVE-2026-126359

Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection

npm packages
EPSS 18%
MEDIUM 5.3CVE-2026-126357

Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix

npm packages
EPSS 33%
MEDIUM 5.3CVE-2026-126356

Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters

npm packages
EPSS 30%
MEDIUM 5.3CVE-2026-126355

Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)

npm packages
EPSS 5%
Sponsors