Skip to main content
Vulnerability Database/CVE-2026-114730

CVE-2026-114730: Roundcube Webmail SSRF Filter Bypass

CVE-2026-114730 is an SSRF filter bypass in Roundcube Webmail affecting versions 1.6.14-1.6.19 and 1.7.0-1.7.4. Attackers can exploit NAT64 prefix omissions to access internal resources. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-114730 Overview

CVE-2026-114730 is a Server-Side Request Forgery (SSRF) filter bypass in Roundcube Webmail versions 1.6.14 through 1.6.19 and 1.7.0 through 1.7.4. The rcube_utils::is_local_url() network blocklist omitted the RFC 6052 NAT64 prefix 64:ff9b::/96, the RFC 8215 local-use NAT64 prefix 64:ff9b:1::/48, and the unspecified address ::/128. Attackers can craft URLs such as http://[64:ff9b::7f00:1]/ to reach loopback, link-local, and cloud metadata endpoints. The flaw is categorized under [CWE-918].

Critical Impact

Unauthenticated attackers can bypass the SSRF filter to reach internal services, link-local addresses, and cloud metadata endpoints such as 169.254.169.254 through IPv6 NAT64 translation.

Affected Products

  • Roundcube Webmail 1.6.14 through 1.6.19
  • Roundcube Webmail 1.7.0 through 1.7.4
  • Deployments relying on rcube_utils::is_local_url() for URL validation

Discovery Timeline

  • 2026-10-19 - Roundcube publishes security updates 1.6.20 and 1.7.5
  • 2026-10-22 - CVE-2026-114730 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-114730

Vulnerability Analysis

The vulnerability resides in program/lib/Roundcube/rcube_utils.php, specifically in the is_local_url() function used to validate outbound URLs. The function enforces a blocklist of CIDR ranges intended to prevent access to internal networks. The blocklist covered common private IPv4 ranges, IPv6 loopback ::1/128, link-local fe80::/10, and IPv4-mapped IPv6 ::ffff:0:0/96, but omitted NAT64 translation prefixes.

NAT64 (RFC 6052) embeds IPv4 addresses inside the IPv6 prefix 64:ff9b::/96. An address like 64:ff9b::7f00:1 represents IPv4 127.0.0.1 encoded as IPv6. Because the blocklist did not include this prefix, the filter accepted the address while the underlying network stack routed the request to loopback or other restricted destinations.

Root Cause

The root cause is an incomplete deny-list in is_local_url(). The blocklist did not account for IPv6 transition technologies that map or embed IPv4 addresses. Three ranges were missing: ::/128 (unspecified), 64:ff9b::/96 (RFC 6052 NAT64), and 64:ff9b:1::/48 (RFC 8215 local-use NAT64). Any blocklist-based SSRF defense must enumerate every representation of restricted targets.

Attack Vector

An attacker supplies a crafted URL containing a NAT64-encoded IPv6 address to any Roundcube feature invoking is_local_url(). The filter returns false (not local), and the HTTP client issues the request to the embedded IPv4 target. This allows probing of internal services and extraction of cloud metadata credentials from endpoints like http://[64:ff9b::a9fe:a9fe]/ which maps to 169.254.169.254.

php
                     '169.254.0.0/16', // link-local / cloud metadata
                     '100.64.0.0/10',  // RFC6598: Shared Address Space (carrier-grade NAT)
                     '::1/128',
+                    '::/128',
                     'fc00::/7',
                     'fe80::/10',      // IPv6 link-local
                     '::ffff:0:0/96',  // RFC5156
+                    '64:ff9b::/96',   // RFC 6052 NAT64 (maps IPv4 incl. private ranges into IPv6)
+                    '64:ff9b:1::/48'  // (RFC 8215 local-use NAT64) 
                 ];

Source: Roundcube Commit 3c3a65f

Detection Methods for CVE-2026-114730

Indicators of Compromise

  • Outbound HTTP requests from Roundcube hosts containing IPv6 literals in the 64:ff9b::/96 or 64:ff9b:1::/48 ranges
  • Access logs showing URL parameters with bracketed IPv6 addresses encoding IPv4 metadata endpoints such as [64:ff9b::a9fe:a9fe]
  • Unexpected connections from the webmail server to 127.0.0.1, 169.254.169.254, or RFC 1918 ranges via IPv6 translation

Detection Strategies

  • Inspect Roundcube and reverse proxy logs for request parameters containing 64:ff9b: substrings
  • Hunt for process-level network connections from PHP-FPM or the web server to NAT64 prefixes using endpoint telemetry
  • Correlate webmail user actions with outbound DNS resolutions returning IPv6 addresses in reserved transition ranges

Monitoring Recommendations

  • Enable egress logging on the Roundcube host and alert on connections to IPv6 ranges 64:ff9b::/96 and 64:ff9b:1::/48
  • Monitor Instance Metadata Service (IMDS) access attempts from webmail server workloads, especially via IPv6
  • Baseline Roundcube outbound traffic and alert on new destinations following URL-handling features such as image proxying or OAuth discovery

How to Mitigate CVE-2026-114730

Immediate Actions Required

  • Upgrade to Roundcube Webmail 1.6.20 or 1.7.5 immediately
  • Enforce IMDSv2 on cloud workloads hosting Roundcube to require session tokens for metadata access
  • Restrict egress from the Roundcube server to only required SMTP, IMAP, and update destinations

Patch Information

The upstream fix is tracked in commits 3c3a65f and 6e1d480, titled "Fix SSRF filter (is_local_url()) bypass via NAT64 64:ff9b::/96". The patches add ::/128, 64:ff9b::/96, and 64:ff9b:1::/48 to the blocklist in rcube_utils.php. Patched releases are available at the Roundcube 1.6.20 release and the Roundcube 1.7.5 release. Further details are available in the Roundcube Security Updates Announcement.

Workarounds

  • Deploy an egress proxy that blocks outbound connections to 64:ff9b::/96, 64:ff9b:1::/48, and ::/128
  • Disable IPv6 on the Roundcube host if operationally feasible to eliminate NAT64 translation paths
  • Apply the diff from commits 3c3a65f or 6e1d480 manually to program/lib/Roundcube/rcube_utils.php if an immediate upgrade is not possible
bash
# Example iptables egress rules blocking NAT64 translation prefixes
ip6tables -A OUTPUT -d 64:ff9b::/96 -j REJECT
ip6tables -A OUTPUT -d 64:ff9b:1::/48 -j REJECT
ip6tables -A OUTPUT -d ::/128 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.