CVE-2026-69198: CWE-20: Improper Input Validation in beaugunderson ip-address
The ip-address JavaScript library versions from 10.1.1 up to but not including 10.2.2 contain an improper input validation vulnerability. This flaw causes special-use IP address classification methods to incorrectly report internal addresses as external when a CIDR suffix like /0 is appended. This can lead to incorrect network trust-boundary decisions, such as allowing Server-Side Request Forgery (SSRF) attacks. The issue is fixed in version 10.2.2.
AI Analysis
Technical Summary
The ip-address library for JavaScript improperly validates input related to subnet masks in versions >=10.1.1 <10.2.2. The classification methods for special-use IP addresses rely on isInSubnet, which short-circuits to false if the address's subnet mask is shorter than the reference range's mask. Since the mask is taken verbatim from the CIDR suffix, an attacker can append a suffix like /0 to suppress classification. This causes methods like isLoopback(), isPrivate(), and others to misclassify internal addresses as external, potentially bypassing network trust-boundary checks such as SSRF filters. The underlying bit comparison logic is correct, but the containment guard is misplaced in the classification path. The vulnerability is resolved in version 10.2.2.
Potential Impact
Applications using affected versions of the ip-address library that rely on its special-use classification methods for security decisions may incorrectly treat internal IP addresses as external. This can lead to bypassing security controls such as SSRF protections, potentially allowing unauthorized internal network access or data exposure. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade the ip-address library to version 10.2.2 or later, where this vulnerability is fixed. Patch status is not explicitly stated but the issue is resolved in 10.2.2. Until upgraded, avoid relying solely on the affected classification methods for critical network trust-boundary decisions.
CVE-2026-69198: CWE-20: Improper Input Validation in beaugunderson ip-address
Description
The ip-address JavaScript library versions from 10.1.1 up to but not including 10.2.2 contain an improper input validation vulnerability. This flaw causes special-use IP address classification methods to incorrectly report internal addresses as external when a CIDR suffix like /0 is appended. This can lead to incorrect network trust-boundary decisions, such as allowing Server-Side Request Forgery (SSRF) attacks. The issue is fixed in version 10.2.2.
CVSS v4.0
Score 6.9medium
Affected software
beaugunderson
ip-address
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 improperly validates input related to subnet masks in versions >=10.1.1 <10.2.2. The classification methods for special-use IP addresses rely on isInSubnet, which short-circuits to false if the address's subnet mask is shorter than the reference range's mask. Since the mask is taken verbatim from the CIDR suffix, an attacker can append a suffix like /0 to suppress classification. This causes methods like isLoopback(), isPrivate(), and others to misclassify internal addresses as external, potentially bypassing network trust-boundary checks such as SSRF filters. The underlying bit comparison logic is correct, but the containment guard is misplaced in the classification path. The vulnerability is resolved in version 10.2.2.
Potential Impact
Applications using affected versions of the ip-address library that rely on its special-use classification methods for security decisions may incorrectly treat internal IP addresses as external. This can lead to bypassing security controls such as SSRF protections, potentially allowing unauthorized internal network access or data exposure. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade the ip-address library to version 10.2.2 or later, where this vulnerability is fixed. Patch status is not explicitly stated but the issue is resolved in 10.2.2. Until upgraded, avoid relying solely on the affected classification methods for critical network trust-boundary decisions.
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
Threat ID: 6a70f79fbf32cb7a3424827d
Added to database: 08/03/2026, 20:18:39 UTC
Last enriched: 08/11/2026, 18:18:26 UTC
Last updated: 09/17/2026, 22:01:37 UTC
Views: 51
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.