CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-69192

CVE-2026-69192: SSRF Bypass via Parser Differential (Octal vs Decimal) in ip-address JavaScript Library

Alon Barad
Alon Barad
Software Engineer

Aug 3, 2026·6 min read·319 visits

Executive Summary (TL;DR)

A parser discrepancy in 'ip-address' validates leading-zero IPv4 octets as decimal (e.g. '012' -> 12) while network stacks resolve them as octal (e.g. '012' -> 10). This differential allows unauthenticated attackers to bypass internal IP filters and execute Server-Side Request Forgery (SSRF).

CVE-2026-69192 is a critical parser differential vulnerability in the 'ip-address' JavaScript library (versions <= 10.3.0). The library parses IPv4 octets containing leading zeros as base-10 (decimal), whereas standard system resolvers and web environments parse them as base-8 (octal). This discrepancy allows remote attackers to bypass SSRF guards and route malicious requests to internal RFC 1918 networks.

Vulnerability Overview

The 'ip-address' JavaScript library is a widely utilized dependency for parsing, validating, and manipulating IPv4 and IPv6 addresses. Applications frequently leverage this package within security-critical components, such as input sanitizers and Server-Side Request Forgery (SSRF) protection layers, to validate user-supplied hostnames before issuing outbound HTTP requests.

The core of the vulnerability lies in a parser differential between the validation library and the downstream network resolution environments. While the 'ip-address' library parses input strings in a specific format, the runtime network APIs (such as Node.js's network client, getaddrinfo, and operating system resolvers) decode those same inputs differently. This structural inconsistency creates a blind spot where security boundaries can be systematically bypassed.

The vulnerability is classified under CWE-918 (Server-Side Request Forgery) and CWE-20 (Improper Input Validation). By constructing an IPv4 address containing octets with leading zeros, an unauthenticated remote attacker can force the application to treat an internal IP address as public, bypassing the intended security filters and routing arbitrary traffic to restricted resources.

Root Cause Analysis

The root cause of this vulnerability is a fundamental semantic mismatch during the parsing of IPv4 octets. In versions of 'ip-address' prior to 10.3.1, the library used regular expressions to identify decimal segments and subsequently converted these string segments to numeric representations using parseInt(part, 10). The inclusion of the explicit radix of 10 instructed the engine to interpret the string strictly in base-10, disregarding any leading zero markers.

For example, if an attacker provides the string '012.0.0.1', the library validates each group independently. The first group, '012', is decoded via parseInt('012', 10) to yield the decimal value 12. Consequently, the library reconstructs the normalized IP as '12.0.0.1'. Since this IP address belongs to a public class A range, validation methods like isPrivate() or isLoopback() return a boolean false value, indicating the address is safe to access.

Conversely, standard network resolution environments follow different decoding rules. Under the POSIX standard and systems implementing inet_aton or getaddrinfo, any numeric octet prefixed with a leading zero is evaluated as an octal (base-8) representation rather than base-10. Under this interpretation, the octet '012' is converted to (1 * 8^1) + (2 * 8^0) = 10. The resulting network address resolves to '10.0.0.1', which is a private RFC 1918 Class A IP address.

Code Analysis & Patch Walkthrough

The vulnerability was addressed in version 10.3.1 by modifying the regular expression used for address validation and adding pre-checks within the parser. In the vulnerable version, the library relied on RE_ADDRESS in src/v4/constants.ts to identify valid IPv4 addresses. This regex allowed optional leading zeros ([01]?[0-9][0-9]?) which allowed multi-digit octets like 012 to pass validation.

// VULNERABLE REGEX IN src/v4/constants.ts
export const RE_ADDRESS =
  /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g;

The patch modified the regular expression to explicitly disallow multi-digit octets from starting with zero. In the updated implementation, single-digit octets 0-9 are allowed, and double-digit octets 10-99 or triple-digit octets 100-255 must begin with a non-zero character. This change prevents the parsing of octal representation formats.

// PATCHED REGEX IN src/v4/constants.ts
export const RE_ADDRESS =
  /^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$/g;

Additionally, explicit defensive checks were introduced in the initialization pipeline in src/ipv4.ts. The parser now inspects each dot-separated segment using a simple lookahead pattern /^0\d/ to throw an explicit AddressError when leading zeroes are detected before matching against the main regex.

// DEFENSIVE CHECKS ADDED IN src/ipv4.ts
parse(address: string) {
  const groups = address.split('.');
 
  if (groups.some((group) => /^0\d/.test(group))) {
    throw new AddressError("IPv4 addresses can't have leading zeroes.");
  }
 
  if (!address.match(constants.RE_ADDRESS)) {
    throw new AddressError('Invalid IPv4 address.');
  }
}

Exploitation Methodology

An attacker can exploit this vulnerability by submitting a crafted URL where the host portion is formatted with leading-zero IPv4 octets. In a typical scenario, an target application accepts a user-provided URL and parses the hostname to verify if it points to a restricted internal address. Because the validation layer uses ip-address, the hostname passes the check as safe.

The target application, after allowing the connection, passes the original un-normalized URL to its HTTP client (such as Axios or Node's http module). The underlying HTTP client depends on the runtime environment or system-level resolvers to resolve the hostname. The resolver decodes the leading-zero octet in octal, establishing a connection to the internal network instead of the public network representation recognized by ip-address.

This behavior bypasses blacklist and whitelist defenses. For instance, the system may prevent requests to '10.0.0.0/8', but a request to '010.0.0.1' translates to '8.0.0.1' (public) in ip-address, while standard network environments route it to '8.0.0.1' as well. In contrast, '012.0.0.1' translates to public '12.0.0.1' in ip-address, but routes to '10.0.0.1' in the system resolver, executing SSRF.

Impact Assessment

The impact of CVE-2026-69192 is high because it allows attackers to bypass boundary restrictions designed to protect private services. By leveraging this vulnerability, a remote attacker can interact with internal web servers, metadata APIs, container orchestration interfaces, or databases that are otherwise inaccessible from the public internet.

When deployed within cloud environments, SSRF can lead to the compromise of cloud credentials via access to metadata services (such as AWS IMDSv1 at 'http://169.254.169.254' or equivalent metadata endpoints in Google Cloud and Azure). Although IMDSv2 provides mitigation via session tokens, many environments still fall back to IMDSv1, rendering them vulnerable to total host takeover.

The vulnerability is tracked with a CVSS v4.0 score of 7.7, reflecting a high impact on subsequent systems. While the direct confidentiality of the target server itself is not immediately violated by the parsing library itself, the library is a critical validation control, meaning its failure directly compromises the confidentiality and integrity of subsequent internal targets.

Remediation & Detection Guidance

The primary remediation strategy is upgrading the ip-address library to version 10.3.1 or higher. This update restricts the syntax allowed by the library to match strict standard dot-decimal notation, throwing a clean parsing error for any ambiguous representations.

For systems where an immediate package upgrade is not feasible, developers should implement a pre-validation filter. This filter can scan the input IP string and reject it if any octet contains a leading zero. A simple regular expression such as /\b0\d+/ can identify invalid segments in the hostname before passing the string to the validation library.

Additionally, defense-in-depth principles should be applied at the network layer. Rather than relying solely on application-level validations, organizations should implement strict egress firewalls and network segmentation. Isolating the application servers from internal administrative interfaces prevents successful SSRF even if the application-level validation is bypassed.

Official Patches

beaugundersonOfficial GitHub Release Tag v10.3.1 containing the fix.
beaugundersonOfficial patch commit in ip-address source code repository.

Fix Analysis (1)

Technical Appendix

CVSS Score
7.7/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N

Affected Systems

ip-address (npm package) versions <= 10.3.0

Affected Versions Detail

Product
Affected Versions
Fixed Version
ip-address
beaugunderson
< 10.3.110.3.1
AttributeDetail
CWE IDCWE-918
Attack VectorNetwork
CVSS v4.0 Score7.7
Exploit StatusProof of Concept
ImpactServer-Side Request Forgery
Vulnerable ComponentAddress4 Class
Remediation StatusOfficial Patch Released

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1005Data from Local System
Collection
CWE-918
Server-Side Request Forgery (SSRF)

The web server receives a URL or similar vector from an upstream source and does not validate it properly before executing the connection, allowing an attacker to force the server to connect to arbitrary destinations.

Known Exploits & Detection

GitHub Security AdvisoryVulnerability proof of concept and description details in official advisory.

Vulnerability Timeline

Vulnerability discovered and analyzed
2026-02-15
Fix commit pushed and version 10.3.1 released
2026-02-16
GitHub Advisory GHSA-mwp4-54f8-5fhr published
2026-02-17

References & Sources

  • [1]GHSA-mwp4-54f8-5fhr: Parser differential in ip-address
  • [2]Fix parser differential commit
  • [3]Release v10.3.1
  • [4]CVE-2026-69192 Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-9639
6.5

CVE-2026-9639: Authenticated Denial of Service via Nil-Pointer Dereference in Canonical LXD Custom Volume Backup Import

CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.

Amit Schendel
Amit Schendel
4 views•9 min read
•about 2 hours ago•CVE-2026-33050
8.8

CVE-2026-33050: OS Command Injection in GeoNode Vector Upload Handler

An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.

Alon Barad
Alon Barad
4 views•9 min read
•about 3 hours ago•CVE-2026-46429
5.5

CVE-2026-46429: Unrestricted File Upload and Validation Bypass in GeoNode

GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 4 hours ago•CVE-2026-55649
6.3

CVE-2026-55649: Stored Cross-Site Scripting in GeoNode Document Metadata Abstract Field

CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.

Amit Schendel
Amit Schendel
6 views•9 min read
•about 5 hours ago•GHSA-QX75-2P3R-PWM5
7.7

CVE-2026-55622: Cross-Project Instance Copy Authorization Bypass in Canonical LXD and LXC Incus

CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.

Amit Schendel
Amit Schendel
3 views•11 min read
•about 6 hours ago•GHSA-7MR3-28H5-M5VX
7.7

GHSA-7mr3-28h5-m5vx: Authorization Bypass and Cross-Project Volume Copy in Canonical LXD

An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.

Alon Barad
Alon Barad
3 views•10 min read