CVE-2026-101912 Details
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.
A vulnerability exists in the ip-address library for JavaScript, specifically in versions prior to 10.7.1. The issue arises in the isInSubnet and isHostInSubnet methods, which compare masked binary representations of IPv4 and IPv6 addresses without ensuring both addresses belong to the same IP family. This oversight allows an address from one family to be incorrectly deemed as contained within a subnet of the other family, potentially leading to erroneous allowlist or denylist decisions. For example, an IPv6 address could be misclassified as being within an IPv4 subnet, and vice versa.
Upgrade to ip-address version 10.7.1 or later, where this vulnerability is fixed. If an immediate upgrade is not possible, manually compare the address families before using the isInSubnet or isHostInSubnet methods.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 28, 2026CISA-ADP
Assessed Sep 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28 | [email protected] | Source CodeVendor |
| https://github.com/beaugunderson/ip-address/releases/tag/v10.7.1 | [email protected] | Release NotesVendor |
| https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-697 | Incorrect Comparison | [email protected] |
| CWE-843 | Access of Resource Using Incompatible Type ('Type Confusion') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ip-address | <= 10.7.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 28, 2026 | CVE Modified | CISA-ADP |
| Sep 28, 2026 | New CVE Received | [email protected] |
Volerion