Skip to main content
EPSS 0.4%top 65%

CVE-2026-69198: CWE-20: Improper Input Validation in beaugunderson ip-address

0
Medium
Published: 08/03/2026 (08/03/2026, 19:59:05 UTC)
Source: CVE Database V5
Vendor/Project: beaugunderson
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N

Affected software

beaugunderson

ip-address

Affected versions
>=10.1.1 <10.2.2
ip-address
pkg:npm/ip-address
Affected versions
>=10.1.1 <10.2.2

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

AILast updated: 08/11/2026, 18:18:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses