Incorrect Behavior Order: Validate Before Canonicalize Affecting hono package, versions <4.12.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-HONO-15928834
  • published8 Apr 2026
  • disclosed8 Apr 2026
  • creditr74tech

Introduced: 8 Apr 2026

NewCVE-2026-39409  (opens in a new tab)
CWE-180  (opens in a new tab)

How to fix?

Upgrade hono to version 4.12.12 or higher.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Incorrect Behavior Order: Validate Before Canonicalize in the ipRestriction function. An attacker can bypass access restrictions by sending requests from IPv4-mapped IPv6 addresses, which are not properly matched against IPv4 allow or deny rules.

CVSS Base Scores

version 4.0
version 3.1