CVE-2026-69198: CWE-20: Improper Input Validation in beaugunderson ip-address
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. From 10.1.1 until 10.2.2, every special-use classification method is built on isInSubnet, which short-circuits to false whenever the address's own subnet mask is shorter than the reference range's mask. That mask comes verbatim from the CIDR suffix on the parsed input, so appending a suffix such as /0 suppresses classification entirely: isLoopback(), isPrivate(), isLinkLocal(), isCGNAT(), isMulticast(), isUnspecified(), isBroadcast(), isULA(), and getType() all report an internal address as unremarkable, while correctForm() and address still return the real internal target. An application that builds a network trust-boundary decision on these checks, for example a filter intended to block Server-Side Request Forgery, or SSRF, may therefore treat an internal target as external and allow the request. The underlying bit comparison is correct, and mask(n) already returns the first n bits of the full parsed address independently of subnetMask; the defect is solely that the containment guard sits in the classification path. This issue is fixed in version 10.2.2.
AI Analysis
Technical Summary
The ip-address library for JavaScript, used for parsing and manipulating IPv4 and IPv6 addresses, has a vulnerability in versions 10.1.1 through 10.2.1 where all special-use classification methods rely on the isInSubnet function. This function short-circuits to false if the address's subnet mask is shorter than the reference range's mask, which can be manipulated by appending a CIDR suffix such as /0. Consequently, methods like isLoopback(), isPrivate(), and others incorrectly report internal addresses as external. This can cause applications relying on these checks for network trust-boundary decisions, such as SSRF filters, to mistakenly allow requests to internal addresses. The underlying bit comparison logic is correct, but the containment guard in the classification path is flawed. The vulnerability is resolved in version 10.2.2.
Potential Impact
Applications using affected versions of the ip-address library may incorrectly classify internal IP addresses as external, potentially allowing unauthorized access or bypassing security controls such as SSRF filters. This misclassification could lead to sensitive internal resources being exposed or accessed by attackers. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available in ip-address version 10.2.2. Users should upgrade to version 10.2.2 or later to resolve this vulnerability. Since the vendor advisory does not provide additional remediation details, upgrading to the fixed version is the recommended action.
CVE-2026-69198: CWE-20: Improper Input Validation in beaugunderson ip-address
Description
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. From 10.1.1 until 10.2.2, every special-use classification method is built on isInSubnet, which short-circuits to false whenever the address's own subnet mask is shorter than the reference range's mask. That mask comes verbatim from the CIDR suffix on the parsed input, so appending a suffix such as /0 suppresses classification entirely: isLoopback(), isPrivate(), isLinkLocal(), isCGNAT(), isMulticast(), isUnspecified(), isBroadcast(), isULA(), and getType() all report an internal address as unremarkable, while correctForm() and address still return the real internal target. An application that builds a network trust-boundary decision on these checks, for example a filter intended to block Server-Side Request Forgery, or SSRF, may therefore treat an internal target as external and allow the request. The underlying bit comparison is correct, and mask(n) already returns the first n bits of the full parsed address independently of subnetMask; the defect is solely that the containment guard sits in the classification path. This issue is fixed in version 10.2.2.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ip-address library for JavaScript, used for parsing and manipulating IPv4 and IPv6 addresses, has a vulnerability in versions 10.1.1 through 10.2.1 where all special-use classification methods rely on the isInSubnet function. This function short-circuits to false if the address's subnet mask is shorter than the reference range's mask, which can be manipulated by appending a CIDR suffix such as /0. Consequently, methods like isLoopback(), isPrivate(), and others incorrectly report internal addresses as external. This can cause applications relying on these checks for network trust-boundary decisions, such as SSRF filters, to mistakenly allow requests to internal addresses. The underlying bit comparison logic is correct, but the containment guard in the classification path is flawed. The vulnerability is resolved in version 10.2.2.
Potential Impact
Applications using affected versions of the ip-address library may incorrectly classify internal IP addresses as external, potentially allowing unauthorized access or bypassing security controls such as SSRF filters. This misclassification could lead to sensitive internal resources being exposed or accessed by attackers. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available in ip-address version 10.2.2. Users should upgrade to version 10.2.2 or later to resolve this vulnerability. Since the vendor advisory does not provide additional remediation details, upgrading to the fixed version is the recommended action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-03T16:57:50.124Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a70f79fbf32cb7a3424827d
Added to database: 08/03/2026, 20:18:39 UTC
Last enriched: 08/03/2026, 20:36:16 UTC
Last updated: 08/03/2026, 21:18:55 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.