Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-39409 EUVD-2026-20497GHSA-xpcf-pg52-r92g

Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses

Published Apr 8, 2026 · Updated Apr 8, 2026 · Assigned by GitHub_M

Description

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, 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. This vulnerability is fixed in 4.12.12.

Affected products

VendorProductAffectedFixed
honojs hono < 4.12.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3-worker 3.164.0-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.12.12 4.12.12 GHSA-xpcf-pg52-r92g

Advisories 1

References