Security mailing lists by PureSourceCode

CVE-2026-126357

MEDIUM 5.3CVSS 3.1

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

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.13.16, mount() and app.mount() can remove a dynamic mount prefix using the route-pattern length rather than the matched-prefix length, allowing a crafted path to be forwarded as a protected inner route while the outer application routes the original path. Since 4.12.21, rebuilding the forwarded URL from the decoded pathname can also convert a decoded backslash to a slash and collapse parent-directory segments, again causing the mounted application to receive a protected path. An unauthenticated client can use either applicable path transformation to reach a mounted route without authentication or authorization middleware scoped to a subpath inside the mount prefix. This issue is fixed in version 4.13.16.

Published
13 Nov 2026
Last modified
17 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-288
Also known as
GHSA-4m76-xfj5-7975
Sources
NVDJSONOSV GHSA-4m76-xfj5-7975JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm hono < 4.13.16 4.13.16

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 13 Nov 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 12 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.