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-101910

CVE-2026-101910: Server-Side Request Forgery Bypass via NAT64 Local-Use Address Range in ip-address Library

Alon Barad
Alon Barad
Software Engineer

Sep 29, 2026·6 min read·27 visits

Executive Summary (TL;DR)

The `ip-address` library fails to identify the NAT64 local-use range 64:ff9b:1::/48 as private, enabling unauthenticated attackers to bypass SSRF validation checks and access internal network environments.

A validation bypass vulnerability exists in the npm package `ip-address` from version 10.2.0 to 10.5.1. The library's `Address6.isPrivate()` classifier fails to recognize the NAT64 local-use prefix range 64:ff9b:1::/48 as a restricted, private subnet. In networks implementing NAT64 routing configurations, an attacker can exploit this flaw to execute Server-Side Request Forgery (SSRF) and bypass local trust-boundary validations.

Vulnerability Overview

The ip-address library is an open-source JavaScript utility used to parse, validate, and manipulate IPv4 and IPv6 addresses. Applications frequently employ this library in network validation layers, specifically to distinguish between public and private/internal IP addresses before executing outbound network calls. This verification mechanism helps defend against Server-Side Request Forgery (SSRF) vulnerabilities.

From version 10.2.0 up to (but not including) 10.5.1, the library contains a classification flaw where the Address6.isPrivate() classifier fails to recognize the NAT64 local-use prefix range 64:ff9b:1::/48. Because this block is treated as globally routable public space rather than private or restricted space, the classification method returns false when querying addresses within this range.

This behavior creates a trust-boundary bypass. If an application uses the library to sanitize destination hosts on a network that implements local-use NAT64 routing, an attacker can input crafted IPv6 addresses to interact with internal services. The resulting bypass can expose sensitive internal endpoints to unauthenticated remote access.

Root Cause Analysis

The root cause of this vulnerability lies in the structural difference between standard NAT64 Well-Known Prefixes (WKP) and operator-selected NAT64 local-use prefixes. RFC 6052 defines the Well-Known Prefix as 64:ff9b::/96, where the embedded IPv4 address resides statically in the last 32 bits of the IPv6 address. The ip-address library parses these addresses by extracting the trailing 32 bits into an IPv4 object and delegating validation to that object.

In contrast, RFC 8215 defines the local-use prefix range 64:ff9b:1::/48 for stateful NAT64 translation. In this range, network operators can allocate prefixes of varying lengths, such as /48, /56, /64, or /96, as outlined in RFC 6052. Because the prefix length is variable, the library cannot assume a fixed 32-bit offset to locate and decode the embedded IPv4 address.

Prior to version 10.5.1, the isPrivate() method in src/ipv6.ts attempted to resolve an embedded IPv4 address via embeddedIPv4(). When parsing an address from the 64:ff9b:1::/48 range, this helper returned null due to the lack of a standardized offset. Since the library did not explicitly check for the 64:ff9b:1::/48 prefix, it bypassed the private address validation and defaulted to classifying the address as a public, globally unique unicast address.

Code Analysis

A detailed review of the codebase reveals that the vulnerability is situated within the isPrivate() function in the Address6 class. In vulnerable versions, the function first checks for an embedded IPv4 address. If no embedded address is found, the logic falls back to checking whether the address is a Unique Local Address (ULA) via the isULA() helper method.

Below is the vulnerable implementation from src/ipv6.ts:

// VULNERABLE LOGIC in src/ipv6.ts
isPrivate(): boolean {
  const embedded = this.embeddedIPv4();
 
  if (embedded) {
    return embedded.isPrivate();
  }
 
  return this.isULA();
}

The patch introduced in commit ab3dc88bcf5374344168a2ba075ca7ac4ff257f8 mitigates this flaw. The fix defines a constant representing the NAT64 local-use subnet block and updates isPrivate() to explicitly evaluate whether the parsed address resides within that range.

Below is the patched logic with the added subnet check:

// PATCHED LOGIC in src/ipv6.ts
const NAT64_LOCAL_USE_SUBNET = new Address6('64:ff9b:1::/48');
 
// ...
 
isPrivate(): boolean {
  const embedded = this.embeddedIPv4();
 
  if (embedded) {
    return embedded.isPrivate();
  }
 
  // Explicitly check for the RFC 8215 NAT64 local-use subnet range
  return this.isULA() || this.isHostInSubnet(NAT64_LOCAL_USE_SUBNET);
}

This modification ensures that any address belonging to the 64:ff9b:1::/48 subnet is classified as private, regardless of whether a specific embedded IPv4 address can be successfully extracted. This approach represents a complete fix for the reported variant because it treats the entire reserved subnet as private at the boundary level.

Exploitation Methodology

Exploitation of this vulnerability requires specific network environmental factors. The target application must deploy the vulnerable ip-address library within its validation tier and run within an internal network utilizing a stateful NAT64 translation gateway configured with the RFC 8215 prefix. Additionally, the application must accept user-defined hosts and resolve them to initiate outbound HTTP requests.

An attacker can trigger Server-Side Request Forgery (SSRF) by supplying a URL containing a crafted IPv6 address that maps to an internal IPv4 resource. For example, to target the AWS Instance Metadata Service (IMDSv1) at 169.254.169.254 (represented as a9fe:a9fe in hex), the attacker constructs an IPv6 address using the local-use prefix 64:ff9b:1::/48. Under a /48 prefix layout, the address resolves to 64:ff9b:1:a9fe:a9:fe00::.

Upon receiving this input, the application evaluates the IP with isPrivate(), which incorrectly returns false. The HTTP client then issues the connection. The outbound packet reaches the NAT64 gateway, which strips the local-use prefix, extracts the embedded IPv4 payload, and forwards the translated request to the targeted internal service, returning the response to the attacker.

Impact Assessment

The successful exploitation of this vulnerability leads to an internal trust-boundary bypass. This bypass enables Server-Side Request Forgery (SSRF) to occur, letting an unauthenticated remote attacker probe, access, or manipulate internal assets. These internal assets typically include loopback services, databases, metadata endpoints, and other microservices located behind the initial firewall.

The CVSS v4.0 base score is calculated at 6.9 (Medium) with the vector string 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. The score reflects low direct confidentiality impact on the host system, but high subsequent confidentiality impact on the target backend systems. The attack complexity is low, but it requires the target environment to be deployed on a network using NAT64 translation.

While there is no evidence of active exploitation in the wild or weaponized public exploits, the vulnerability remains a risk for containerized environments, Kubernetes clusters, and cloud environments that transition between IPv4 and IPv6 networks using local-use prefixes.

Remediation and Mitigation

The primary remediation strategy is upgrading the ip-address library to version 10.5.1 or later, which incorporates the fix. The updated library correctly classifies the entire 64:ff9b:1::/48 range as private. This change resolves the trust-boundary bypass without requiring modifications to the application's verification logic.

If upgrading is not immediately possible, organizations can apply a manual workaround in their validation wrapper. Developers should manually check whether resolved IPv6 addresses reside within the 64:ff9b:1::/48 subnet using custom routing validation before issuing outbound network requests. This check must be performed prior to passing the address to the application client.

Additionally, defense-in-depth measures should be established at the network layer. Restrict the outbound capabilities of the application runtime environment by implementing network policies that block egress traffic to the NAT64 gateway from unauthorized containers. Implementing DNS rebinding protection and ensuring that HTTP clients pin connections to resolved socket IPs rather than re-resolving the hostnames are also recommended.

Official Patches

Beau GundersonGitHub Security Advisory GHSA-2vr4-cq9g-pvrc
Beau GundersonFix Commit ab3dc88bcf53

Fix Analysis (1)

Technical Appendix

CVSS Score
6.9/ 10
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 Systems

Node.js environments implementing the `ip-address` npm package for hostname/IP resolution sanitization.Containerized services operating in dual-stack IPv4/IPv6 networks utilizing NAT64 local-use prefix routing.

Affected Versions Detail

Product
Affected Versions
Fixed Version
ip-address
Beau Gunderson
>= 10.2.0, < 10.5.110.5.1
AttributeDetail
CWE IDCWE-918: Server-Side Request Forgery (SSRF)
Attack VectorNetwork (Unauthenticated)
CVSS v4.0 Score6.9 (Medium)
EPSS Score / PercentileNot available / No active threat intel indicators
Exploit Statuspoc
KEV StatusNot listed on CISA KEV

MITRE ATT&CK Mapping

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

The application takes a user-supplied URL or IP destination and executes a request without validating the resolved address appropriately, enabling internal resource probing.

References & Sources

  • [1]NVD - CVE-2026-101910 Detail
  • [2]GitHub Security Advisory (GHSA-2vr4-cq9g-pvrc)
  • [3]ip-address Release Version Tag v10.5.1

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

•25 minutes ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
1 views•11 min read
•about 1 hour ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 2 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 3 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 4 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 5 hours ago•CVE-2026-128084
4.8

CVE-2026-128084: Integer Truncation and SQL Query Truncation in sqlite3-ruby

Prior to version 2.10.2, the sqlite3-ruby gem explicitly cast 64-bit Ruby string lengths (long) to 32-bit signed integers (int) when invoking the underlying SQLite C API. On 64-bit platforms, providing a string of 4 GiB (2^32 bytes) or larger causes integer truncation, instructing SQLite to process only a prefix of the string. This flaw affects SQL query preparation, bound parameter values, and return values from custom Ruby-defined SQL functions and aggregates, allowing trailing SQL clauses such as WHERE restrictions to be silently dropped under specific conditions.

Alon Barad
Alon Barad
5 views•11 min read