[ CVE-2026-101912 · Published 28 Sep 2026 ]
ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range
CVSS 6.3
EPSS <1%Fix available
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official description
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Prior to 10.7.1, the isInSubnet and isHostInSubnet methods in src/common.ts compare masked binary strings without validating that both operands use the same IP family. A cross-family containment check whose leading address bits match makes the masked strings compare equal even though IPv4 and IPv6 do not share an address space. An allowlist or denylist decision can therefore classify an address outside the intended range as contained. This issue is fixed in version 10.7.1.
[ Fixes ]Fixes and patches
- ip-address 10.7.1Fixed version · GitHub Advisories · npm package ip-address: upgrade to 10.7.1 or later (affected <= 10.7.0)
[ Packages ]Affected open-source packages
- ip-address npmAffected <= 10.7.0 · fixed in 10.7.1 · GHSA-j6r3-76f7-8jcv