Skip to main content

Node.js EUVDEUVD-2026-20497

| CVE-2026-39409 MEDIUM
Incorrect Behavior Order: Validate Before Canonicalize (CWE-180)
2026-04-08 https://github.com/honojs/hono GHSA-xpcf-pg52-r92g
6.3
CVSS 4.0 · Vendor: https://github.com/honojs/hono
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Leading special element handling
Impact

While CVSS and EPSS data are unavailable, the vulnerability presents significant real-world risk in practice. The attack vector is network-based requiring no authentication (remote clients control their apparent address representation), attack complexity is low (address format conversion is automatic in Node.js), and the technical impact is high (authentication bypass). The vulnerability is not actively exploited per CISA KEV records and no public proof-of-concept code exists, reducing immediate threat likelihood. However, the vulnerability is trivially demonstrable and exploitable once understood-any application using IPv4 deny rules in Node.js dual-stack mode is immediately vulnerable without patching. Organizations relying on IP-based access control for security-critical functions should prioritize remediation despite the absence of active exploitation signals, as the barrier to weaponization is minimal and the impact is authentication bypass.

Exploit ScenarioDerived

An attacker with network access to a Hono application configured with IPv4 deny rules (e.g., denyList: ['192.168.1.100']) running on a Node.js server in dual-stack mode observes that incoming IPv4 connections are automatically translated to IPv4-mapped IPv6 format by the Node.js runtime (::ffff:192.168.1.100). The ipRestriction() middleware treats the colon-containing address as IPv6 and skips IPv4 matching logic, allowing the request through despite the deny rule. The attacker can access restricted functionality or trigger security-sensitive operations that would normally be blocked for that IPv4 address. Exploitation requires no special tools or code-standard HTTP requests from a denied IPv4 address automatically trigger the bypass through normal Node.js behavior.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

IPv4 access control bypass in Hono middleware allows IPv4-mapped IPv6 addresses (e.g., ::ffff:127.0.0.1) to bypass IPv4-based ipRestriction() rules due to failure to canonicalize addresses before matching. Denied IPv4 clients can circumvent access restrictions in Node.js dual-stack environments by presenting as IPv6-formatted addresses, and legitimate IPv4 clients may be incorrectly rejected when allowlists are used. No public exploit code identified at time of analysis, but the vulnerability enables straightforward authentication bypass with minimal complexity.

RemediationAI

Upgrade Hono to version 4.12.12 or later, which includes the fix commit 48fa2233bc092f650119f42df043050737cabf39 implementing IPv4-mapped IPv6 address canonicalization in the ipRestriction() middleware. For affected applications, verify dependency lock files (package-lock.json, yarn.lock, pnpm-lock.yaml) and run npm update or equivalent package manager command to obtain the patched version. Organizations unable to upgrade immediately should audit ipRestriction() configurations to identify IPv4-based rules, review alternative authentication/authorization mechanisms that do not rely solely on IP classification, and consider implementing address canonicalization in application-level middleware as a temporary compensating control. See GitHub advisory GHSA-xpcf-pg52-r92g and release notes at https://github.com/honojs/hono/releases/tag/v4.12.12 for additional guidance.

Affected VersionsENISA

hono < 4.12.12

Affected Packages

npm hono fix: 4.12.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Hono web framework middleware implements IP-based access control through the ipRestriction() function, which classifies client addresses based on textual representation rather than canonical form. IPv4-mapped IPv6 addresses (RFC 4291 notation ::ffff:x.x.x.x) are syntactically valid representations of IPv4 addresses that Node.js dual-stack servers commonly produce when receiving IPv4 connections over IPv6-capable interfaces. The vulnerability stems from the address classification logic treating any address containing colons as IPv6, bypassing IPv4 CIDR matching logic entirely. The root cause falls under CWE-180 (Incorrect Handling of Unusual Byte Sequences), as the middleware fails to normalize semantically equivalent but syntactically different representations of the same address before applying security rules. This is particularly relevant in Node.js environments where the net module automatically converts IPv4 connections to IPv4-mapped IPv6 format when the server listens on IPv6 addresses.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/honojs/hono) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/honojs/hono) · only source for this CVE.

CVSS VectorVendor: https://github.com/honojs/hono

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 08, 2026 - 00:30 nvd
Patch available
CVE Published
Apr 08, 2026 - 00:17 nvd
MEDIUM 6.3

DescriptionCVE.org

Summary

ipRestriction() does not canonicalize IPv4-mapped IPv6 client addresses (e.g. ::ffff:127.0.0.1) before applying IPv4 allow or deny rules. In environments such as Node.js dual-stack, this can cause IPv4 rules to fail to match, leading to unintended authorization behavior.

Details

The middleware classifies client addresses based on their textual form. Addresses containing ":" are treated as IPv6, including IPv4-mapped IPv6 addresses such as ::ffff:127.0.0.1. These addresses are not normalized to IPv4 before matching.

As a result:

  • IPv4 static rules (e.g. 127.0.0.1) do not match because the raw string differs
  • IPv4 CIDR rules (e.g. 127.0.0.0/8, 10.0.0.0/8) are skipped because the address is treated as IPv6

For example, with:

denyList: ['127.0.0.1']

a request from 127.0.0.1 may be represented as ::ffff:127.0.0.1 and bypass the deny rule.

This behavior commonly occurs in Node.js environments where IPv4 clients are exposed as IPv4-mapped IPv6 addresses.

Impact

Applications that rely on IPv4-based ipRestriction() rules may incorrectly allow or deny requests.

In affected deployments, a denied IPv4 client may bypass access restrictions. Conversely, legitimate clients may be rejected when using IPv4 allow lists.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 67 npm packages depend on hono (50 direct, 17 indirect)

Ecosystem-wide dependent count for version 4.12.12.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy