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

CVE-2026-108115: Kortix Suna SSRF Vulnerability

CVE-2026-108115 is a server-side request forgery flaw in Kortix Suna that lets project managers bypass IP guards using IPv6 addresses to access internal services. This article covers technical details, affected versions, and mitigation.

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-108115 Overview

CVE-2026-108115 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] affecting Kortix Suna versions 0.10.7 through 0.13.51. The flaw resides in the isPrivateIp guard located in apps/api/src/shared/ssrf-guard.ts. The guard fails to detect private IPv4 destinations embedded within IPv6 6to4 (2002::/16) or Teredo (2001::/32) tunneling addresses. Authenticated project managers holding the project.connector.write permission can set connector base_url, OpenAPI, Postman, or MCP URLs to internal services. Attackers can reach internal infrastructure, cloud metadata endpoints, and read the returned responses.

Critical Impact

Authenticated attackers with connector-write privileges can bypass SSRF protections to query internal services and cloud instance metadata endpoints, exfiltrating sensitive response data.

Affected Products

  • Kortix Suna versions 0.10.7 through 0.13.51
  • The ssrf-guard.ts component in the Suna API
  • Connector functionality consuming base_url, OpenAPI, Postman, and MCP URLs

Discovery Timeline

  • 2026-10-10 - CVE-2026-108115 published to the National Vulnerability Database
  • 2026-10-16 - Last updated in NVD database
  • v0.13.52 - Kortix releases the patched version addressing the SSRF guard bypass

Technical Details for CVE-2026-108115

Vulnerability Analysis

The vulnerability arises from an incomplete IPv6 address classification routine within the isPrivateIp function. IPv6 6to4 addresses embed an IPv4 address in bits 16 to 48 of a 2002::/16 prefix. Teredo addresses embed IPv4 server and client endpoints inside a 2001::/32 prefix. The guard checks the outer IPv6 textual representation against disallowed ranges without decoding the embedded IPv4 destination.

As a result, an attacker supplying an address such as 2002:7f00:0001:: (which resolves on the wire to the IPv4 loopback 127.0.0.1) passes the private-address check. Upon connection, the host operating system or network stack translates the request to the internal IPv4 destination. The Suna API then returns the response body to the authenticated project member, enabling cloud metadata reads and internal service enumeration.

Root Cause

The root cause is incomplete input validation in the SSRF allowlist/denylist logic. The guard treats IPv6 tunneling prefixes as public without decoding embedded IPv4 destinations. See the vulnerable code at the SSRF Guard Source.

Attack Vector

An attacker with project.connector.write authorization creates or updates a connector resource and sets its target URL to an IPv6 6to4 or Teredo address encoding an internal IPv4 destination. The Suna backend issues the outbound HTTP request, which the kernel routes to the embedded internal IPv4 address. Response bodies are returned to the caller, enabling exfiltration of cloud metadata tokens or internal API data.

typescript
// Patch excerpt from commit 9c949e4 — apps/api/src/apps/public-proxy-headers.ts
   for (const name of [
     'host', 'connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization',
     'te', 'trailer', 'transfer-encoding', 'upgrade',
+    // A Kortix credential header, never the App's own.
+    'x-kortix-token',
     EDGE_HOST_HEADER, EDGE_TIMESTAMP_HEADER, EDGE_SIGNATURE_HEADER,
     // Deleted unconditionally, THEN set from what the gate resolved: a client
     // must never be able to hand the App an identity of its own choosing.

Source: Kortix Suna Commit 9c949e4

Detection Methods for CVE-2026-108115

Indicators of Compromise

  • Outbound HTTP requests from the Suna API container destined to IPv6 addresses in 2002::/16 or 2001::/32 prefixes
  • Connector configuration records whose base_url, OpenAPI, Postman, or MCP URL fields contain 2002: or 2001:0: literals
  • Application logs showing successful proxied requests to cloud metadata endpoints such as 169.254.169.254 reached through tunneled IPv6 addresses

Detection Strategies

  • Inspect audit logs for project.connector.write events immediately followed by connector URL updates referencing IPv6 literals
  • Correlate egress network telemetry with connector URL changes to identify SSRF attempts targeting link-local or loopback space
  • Deploy a server-side allowlist that re-validates resolved destinations after DNS resolution and IPv6 decoding

Monitoring Recommendations

  • Monitor the Suna API egress interface for any 6to4 or Teredo address usage, which is uncommon in production environments
  • Alert on API responses larger than expected baselines returned to connector-test endpoints
  • Track creation and modification of connector objects by non-admin project roles for anomalous URL schemes

How to Mitigate CVE-2026-108115

Immediate Actions Required

  • Upgrade Kortix Suna to version 0.13.52 or later as published in the Suna v0.13.52 release
  • Audit all existing connector configurations for IPv6 literals containing 2002: or 2001:0: prefixes and remove them
  • Review and restrict the project.connector.write permission to trusted project administrators only

Patch Information

The fix is delivered in Kortix Suna release v0.13.52 via commit 9c949e4. The patch strengthens the SSRF guard, enforces canonical gate paths, and adds project-level access controls on the sandbox proxy. For a detailed technical write-up of the bypass, review the HackMD SSRF Guard Bypass Analysis and the VulnCheck Advisory.

Workarounds

  • Block all outbound IPv6 6to4 (2002::/16) and Teredo (2001::/32) traffic at the network egress layer serving the Suna API
  • Enforce an egress proxy that rejects requests whose resolved destination falls within RFC 1918, loopback, link-local, or cloud metadata ranges
  • Temporarily disable connector creation and modification until the upgrade can be deployed
bash
# Example iptables rules blocking 6to4 and Teredo egress from the Suna API host
ip6tables -A OUTPUT -d 2002::/16 -j REJECT
ip6tables -A OUTPUT -d 2001::/32 -j REJECT

# Verify Suna version after upgrade
docker exec suna-api cat package.json | grep '"version"'

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.