Skip to main content

ip-address (npm) CVE-2026-101912

| EUVDEUVD-2026-88396 MEDIUM
Incorrect Comparison (CWE-697)
2026-09-28 GitHub_M GHSA-j6r3-76f7-8jcv
6.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app using isInSubnet for allow/deny gating
  2. Delivery
    Craft cross-family address with matching leading bits
  3. Exploit
    Submit to subnet-containment check
  4. Execution
    Masked strings compare equal across families
  5. Persist
    Address misclassified as in-range
  6. Impact
    Bypass allowlist/denylist control

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect comparison
Exploitation Conditions

Exploitation requires that the consuming application invoke ip-address's isInSubnet or isHostInSubnet methods to make an allowlist/denylist or trust-boundary decision, AND that it pass attacker-influenced addresses where an IPv4 and IPv6 address are compared against each other (a cross-family containment check). The attacker must supply an address of the opposite family whose leading (masked) bits align with the subnet mask so the masked binary strings compare equal. Limiting factors: the flaw is inert if the application never uses these subnet methods for security gating, or if it validates/normalizes IP family before comparison; impact is bounded to integrity of the containment decision (vendor VC:N/VA:N). No authentication or user interaction is required at the library level (PR:N/UI:N), but real risk is entirely gated by how the host application wires these predicates into its access logic.

Impact

This is a logic/comparison flaw (CWE-697) in the widely-used ip-address npm library, not a memory-safety or code-execution bug. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N) scores 6.3 (medium) with integrity-only impact (VI:L) and explicitly no confidentiality or availability impact - the AT:P (attack requirement present) reflects that exploitation depends on a specific precondition: the consuming application must call isInSubnet/isHostInSubnet for a security decision and feed it addresses of differing IP families. There is no EPSS score, no CISA KEV listing, and no public exploit code provided; per precision rules this is 'no public exploit identified at time of analysis.' The severity is thus real-but-conditional: the library is enormously popular so the blast radius is broad, but the flaw is inert unless an application routes untrusted cross-family input through these subnet-containment predicates for allowlist/denylist enforcement. Note a metadata conflict: the 'Information Disclosure' tag contradicts the vendor's own vector, which sets VC:N and rates only integrity (VI:L) - the true impact is an access-control/logic bypass, not an information leak. Treat as a defense-in-depth hardening fix rather than an emergency patch, prioritized by whether your code actually uses these methods for security gating.

Exploit ScenarioDerived

An application uses ip-address's isInSubnet/isHostInSubnet to enforce an allowlist or denylist (e.g. blocking requests to internal IPv6 ranges) and accepts an attacker-supplied target address. Because the masked binary strings are compared without checking that both operands are the same IP family, an attacker submits an address of the opposite family whose leading bits coincidentally match the mask, causing the check to wrongly classify it as inside (or outside) the intended range and bypassing the access decision. No public PoC is provided, and exploitation depends on how the host application wires these methods into its trust logic.

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

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

Alert me

AnalysisAIv1 – Sep 28, 2026

Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHostInSubnet to report that an address falls inside a range it does not belong to, allowing an allowlist or denylist decision built on those predicates to misclassify an out-of-scope address as trusted. The flaw is a logic/comparison error (CWE-697) rather than a memory-safety issue: masked binary strings are compared without first confirming that the address and the subnet share the same IP family, so an IPv4 address checked against an IPv6 mask (or vice versa) can compare equal when the leading masked bits align. Exploitation requires a consuming application to use these methods as a security gate and to pass attacker-influenced addresses into a cross-family check; no public exploit code was identified at time of analysis, and the weakness is inert in applications that never use these predicates or that normalize IP family before comparison. Impact is bounded to integrity of the containment decision (no confidentiality or availability effect), and the vendor's CVSS 4.0 score of 6.3 is higher than our assessed CVSS 3.1 vector of AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N because practical exploitation is gated by how the host application wires these predicates.

RemediationAI

Vendor-released patch: 10.7.1. Upgrade the ip-address dependency to 10.7.1 or later (npm install ip-address@^10.7.1) and redeploy, then verify via npm ls ip-address that no transitive dependency still resolves a pre-10.7.1 copy, since npm deduplication can leave an old version installed under a nested path even after a top-level upgrade. Refer to the release notes at https://github.com/beaugunderson/ip-address/releases/tag/v10.7.1, the advisory at https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv, and the fix commit at https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28. If immediate upgrade is not possible, the practical compensating control is to stop relying on these predicates for security gating until the dependency is patched: validate and normalize the IP family of both the address and the subnet before any containment check (for example, reject cross-family comparisons outright, or resolve both sides to a canonical family), since this directly removes the mismatch that produces the false positive; the trade-off is that this requires changes in each consuming call site and any missed path remains exposed. Alternatively, wrap the library calls with your own family-equality assertion and treat any cross-family result as a hard denial rather than a match - the trade-off is fail-closed behavior that may block legitimate mixed-family configurations. Relying on network-layer controls alone is not a substitute, because the affected decision is made inside the application before traffic is evaluated. No vendor workaround beyond upgrading or caller-side family validation is documented in the available references.

Affected VersionsENISA

ip-address < 10.7.1

Affected Packages

npm ip-address fix: 10.7.1

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 ip-address library parses and manipulates IPv4 and IPv6 addresses in JavaScript and is a common dependency for network-facing code that needs to decide whether an address belongs to a trusted or blocked range. Per the vendor description, the isInSubnet and isHostInSubnet methods in src/common.ts convert addresses and subnets to masked binary strings and compare those strings directly. Because the family of the two operands is never validated first, and because IPv4 and IPv6 do not share an address space, a cross-family comparison whose leading masked bits happen to match can produce a spurious 'contained' result. The underlying weakness class is CWE-697 (Incorrect Comparison), i.e., an equivalence check performed over representations that are not actually comparable. The CPE string cpe:2.3:a:beaugunderson:ip-address:*:*:*:*:*:*:*:* identifies the upstream beaugunderson/ip-address package with no version constraint, reflecting that every release prior to 10.7.1 is affected. The vendor references a security advisory (GHSA-j6r3-76f7-8jcv), a fix commit (1343629d57fea413644a5c9d41ff1e59619f3f28) and the v10.7.1 release tag; the supplied commit excerpt is documentation-focused (README line references and predicate descriptions, including the isGlobal guidance to use that single predicate where a request must not reach an internal or special-purpose destination), consistent with the actual logic correction living in the source file named by the advisory. Because the defect is purely an incorrect comparison, it does not provide code execution, memory corruption, or direct data disclosure; its security relevance derives entirely from downstream trust decisions.

Know when JavaScript 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 (GitHub_M) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

AC:H because it needs a cross-family comparison with matching leading bits and an app that uses the method for a security decision; integrity-only (I:L), no C/A impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Sep 28, 2026 - 19:01 EUVD
CVE Published
Sep 28, 2026 - 17:48 cve.org
MEDIUM 6.3

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 npm packages depend on ip-address (3 direct, 1 indirect)

Ecosystem-wide dependent count for version 10.7.1.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
High
ip-address is a very widely-depended npm IPv4/IPv6 parsing library
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 Yes
EPSS 0.4%
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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-102827 CRITICAL POC
9.8 Sep 29

Command injection in simple-git, the Node.js library for running git commands and published on npm, affects all releases

CVE-2026-77615 HIGH POC
8.7 Sep 17

Stored DOM-based cross-site scripting in Paella Player's closed-caption rendering path (paella-core before 2.12.11) allo

CVE-2026-92776 HIGH POC
8.6 Sep 16

Authorization bypass in Wiki.js through 2.5.314 allows an authenticated user who has been granted access to at least one

CVE-2026-102826 HIGH POC
8.1 Sep 29

Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command

CVE-2026-85715 HIGH POC
7.5 Sep 17

Improper memory allocation control in ExifReader before 4.41.1 allows remote attackers to exhaust heap memory and termin

CVE-2026-102278 HIGH POC
7.5 Sep 28

Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a

CVE-2026-102276 HIGH POC
7.5 Sep 28

Stack exhaustion in the npm library brace-expansion (all versions prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10) lets a craf

CVE-2026-44265 HIGH POC
7.4 Nov 03

Code injection in Elo's programmatic AST API (npm @enspirit/elo) through version 1.0.0 allows an integrator who populate

CVE-2026-92775 HIGH POC
7.1 Sep 16

Server-side request forgery in Wiki.js through 2.5.314 lets an authenticated user who holds page-editing permissions for

CVE-2026-101910 MEDIUM POC
6.9 Sep 28

The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat

CVE-2026-101914 MEDIUM POC
6.5 Sep 28

Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one

CVE-2026-101911 MEDIUM POC
6.3 Sep 28

Denial of service in the ip-address JavaScript/npm library (all versions prior to 10.7.1) lets remote attackers stall or

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

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