Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-101912 EUVD-2026-88396GHSA-j6r3-76f7-8jcv

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

Published Sep 28, 2026 · Updated Sep 28, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
beaugunderson ip-address < 10.7.1 —

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.

ReleasePackageFixed inAdvisory
Debian 14 node-ip-address 10.7.2-1 —
Debian 13 node-ip-address No fix yet —
Debian 12 node-ip-address No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-ip-address No fix yet —
Ubuntu 26.04 LTS node-ip-address No fix yet —
Ubuntu 24.04 LTS node-ip-address No fix yet —
Ubuntu 22.04 LTS node-ip-address No fix yet —
Ubuntu 20.04 LTS node-ip-address No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.139.1-r1 —
Wolfi rolling lerna 10.0.1-r7 —
Wolfi rolling npm-12 12.2.0-r1 —
Wolfi rolling opensearch-dashboards-3 3.9.0-r1 —
Wolfi rolling prism 5.16.0-r14 —
Wolfi rolling renovate 44.133.0-r3 —
Wolfi rolling sqlpad 7.5.7-r45 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm ip-address < 10.7.1 10.7.1 GHSA-j6r3-76f7-8jcv

References