CVE-2026-69192: CWE-20: Improper Input Validation in beaugunderson ip-address
The ip-address JavaScript library prior to version 10.3.1 improperly validates input when parsing IPv4 addresses with octets that have leading zeros. This causes a mismatch between the library's interpretation and standard network parsers, potentially leading to incorrect classification of internal versus external IP addresses. This can affect security decisions such as Server-Side Request Forgery (SSRF) protections. The issue is fixed in version 10.3.1.
AI Analysis
Technical Summary
The ip-address library for JavaScript versions before 10.3.1 contains an input validation flaw where Address4 incorrectly interprets octets with leading zeros as decimal rather than octal. This differs from the behavior of the WHATWG URL host parser, inet_aton, and getaddrinfo, which interpret leading zeros as octal. Consequently, the library and network stack disagree on the actual IP address, causing functions like isPrivate(), isLoopback(), and correctForm() to return incorrect results. This discrepancy can lead to security boundary misclassifications, for example allowing SSRF attacks by misclassifying internal IPs as external. The vulnerability is resolved in version 10.3.1.
Potential Impact
Applications relying on ip-address library versions prior to 10.3.1 for IP address parsing and network trust decisions may incorrectly classify IP addresses due to inconsistent parsing of octets with leading zeros. This can result in security controls such as SSRF filters failing to block internal network requests, potentially exposing internal resources to unauthorized access. The vulnerability affects all consumers of the Address4 parsing and related classification functions.
Mitigation Recommendations
Upgrade the ip-address library to version 10.3.1 or later, where this input validation issue is fixed. No other mitigations are specified or required once the library is updated.
CVE-2026-69192: CWE-20: Improper Input Validation in beaugunderson ip-address
Description
The ip-address JavaScript library prior to version 10.3.1 improperly validates input when parsing IPv4 addresses with octets that have leading zeros. This causes a mismatch between the library's interpretation and standard network parsers, potentially leading to incorrect classification of internal versus external IP addresses. This can affect security decisions such as Server-Side Request Forgery (SSRF) protections. The issue is fixed in version 10.3.1.
CVSS v4.0
Score 7.7high
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 versions before 10.3.1 contains an input validation flaw where Address4 incorrectly interprets octets with leading zeros as decimal rather than octal. This differs from the behavior of the WHATWG URL host parser, inet_aton, and getaddrinfo, which interpret leading zeros as octal. Consequently, the library and network stack disagree on the actual IP address, causing functions like isPrivate(), isLoopback(), and correctForm() to return incorrect results. This discrepancy can lead to security boundary misclassifications, for example allowing SSRF attacks by misclassifying internal IPs as external. The vulnerability is resolved in version 10.3.1.
Potential Impact
Applications relying on ip-address library versions prior to 10.3.1 for IP address parsing and network trust decisions may incorrectly classify IP addresses due to inconsistent parsing of octets with leading zeros. This can result in security controls such as SSRF filters failing to block internal network requests, potentially exposing internal resources to unauthorized access. The vulnerability affects all consumers of the Address4 parsing and related classification functions.
Mitigation Recommendations
Upgrade the ip-address library to version 10.3.1 or later, where this input validation issue is fixed. No other mitigations are specified or required once the library is updated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-03T16:00:23.483Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a70f79ebf32cb7a3424823b
Added to database: 08/03/2026, 20:18:38 UTC
Last enriched: 08/11/2026, 18:37:36 UTC
Last updated: 09/17/2026, 22:01:37 UTC
Views: 53
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.