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-105689 Overview
Penpot, an open-source design and prototyping platform, contains a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] in versions prior to 2.18.0. The app.util.ssrf/blocked-address? function relies on Java InetAddress predicates that do not classify NAT64, 6to4, or Teredo IPv6 transition addresses. Additional CIDR checks apply only to IPv4 values, leaving IPv6 transition formats unfiltered. Attackers can supply an IPv6 transition address embedding a cloud-metadata, loopback, link-local, or private IPv4 target to bypass the SSRF guard.
Critical Impact
Media import requests can disclose response bodies from internal services, while webhook delivery exposes response status as a network-probing side channel against cloud metadata endpoints and internal infrastructure.
Affected Products
- Penpot versions prior to 2.18.0
- Self-hosted Penpot deployments routing through NAT64 gateways
- Cloud-hosted Penpot instances in environments with NAT64 translation
Discovery Timeline
- 2026-10-05 - CVE-2026-105689 published to NVD
- 2026-10-05 - Last updated in NVD database
Technical Details for CVE-2026-105689
Vulnerability Analysis
The flaw resides in Penpot's SSRF guard located in backend/src/app/util/ssrf.clj. The blocked-address? predicate relied on Java InetAddress classification methods such as isLoopbackAddress, isLinkLocalAddress, and isSiteLocalAddress. These predicates do not recognize IPv6 transition formats including NAT64 (64:ff9b::/96), 6to4 (2002::/16), and Teredo (2001::/32). The guard also applied operator-supplied CIDR blocklists only when the resolved address was IPv4. An attacker encodes a sensitive IPv4 target such as 169.254.169.254 inside an IPv6 transition prefix, and the predicate returns false. The HTTP client then routes the request through a NAT64 gateway or 6to4 relay to the internal target.
Root Cause
The root cause is incomplete host validation logic. The Clojure predicate trusted JVM address classifiers that do not account for IPv6 transition semantics. CIDR-based deny rules were never evaluated against the embedded IPv4 payload inside IPv6 transition addresses, producing an asymmetric filter.
Attack Vector
Exploitation requires either a cloud environment with a NAT64 gateway or an attacker-controlled DNS AAAA record resolving to a transition address. A low-privileged user triggers media import with a crafted URL. Alternatively, an administrator configuring a webhook URL can probe internal services. Media import leaks response bodies; webhook delivery leaks response status codes as an oracle.
;; Security patch in backend/src/app/util/ssrf.clj
;; Block IPv6 transition addresses in SSRF guard (#11320)
(ns app.util.ssrf
- "URL/host validation to prevent Server-Side Request Forgery."
+ "URL/host validation to prevent Server-Side Request Forgery.
+
+ The blocklist covers the standard JVM InetAddress classifications plus
+ explicit ranges: IPv6 ULA, IPv4-mapped loopback, cloud metadata,
+ operator-supplied CIDRs and the IPv6 transition mechanisms NAT64, 6to4
+ and Teredo."
(:require
[app.common.exceptions :as ex]
[app.common.logging :as l]
Source: Penpot commit 326d83e
Detection Methods for CVE-2026-105689
Indicators of Compromise
- Outbound HTTP requests from Penpot backend to IPv6 addresses in 64:ff9b::/96, 2002::/16, or 2001::/32 ranges
- Media import or webhook configuration events referencing hostnames resolving to IPv6 transition prefixes
- DNS AAAA responses to the Penpot backend returning transition-format addresses for externally supplied hostnames
- Backend connections targeting cloud metadata IPs such as 169.254.169.254 encoded inside IPv6 transition formats
Detection Strategies
- Inspect HTTP egress logs from Penpot workers for destinations matching NAT64, 6to4, and Teredo prefixes
- Alert on repeated webhook delivery attempts to varying IPv6 transition destinations, which indicate network probing
- Correlate media import URLs submitted by users against resolved address families and transition prefixes
Monitoring Recommendations
- Capture DNS resolver telemetry for AAAA responses returned to the Penpot backend and flag transition-range answers
- Monitor cloud metadata service access logs (IMDS) for requests originating from Penpot application nodes
- Instrument the app.util.ssrf namespace with structured logging on blocked and allowed outbound URLs for post-incident review
How to Mitigate CVE-2026-105689
Immediate Actions Required
- Upgrade all Penpot deployments to version 2.18.0 or later, which extends the SSRF blocklist to IPv6 transition mechanisms
- Audit webhook configurations and recent media import URLs for hostnames resolving to NAT64, 6to4, or Teredo addresses
- Enforce IMDSv2 on AWS deployments and restrict access to cloud metadata endpoints from the Penpot workload
Patch Information
The fix is included in Penpot 2.18.0. The patch extends app.util.ssrf/blocked-address? to explicitly block IPv6 Unique Local Addresses, IPv4-mapped loopback, cloud metadata ranges, operator-supplied CIDRs, and the NAT64, 6to4, and Teredo transition prefixes. Review the Penpot 2.18.0 release notes and the GitHub Security Advisory GHSA-wxgm-8qjw-x445 for full remediation details.
Workarounds
- Deploy an egress firewall policy that denies outbound traffic from the Penpot backend to RFC 6052 (64:ff9b::/96), 6to4 (2002::/16), and Teredo (2001::/32) ranges
- Disable NAT64 translation on the network path used by the Penpot backend if transition connectivity is not required
- Restrict webhook URL configuration to a trusted administrator role until the upgrade is applied
# Example nftables egress rules blocking IPv6 transition prefixes
nft add rule inet filter output ip6 daddr 64:ff9b::/96 drop
nft add rule inet filter output ip6 daddr 2002::/16 drop
nft add rule inet filter output ip6 daddr 2001::/32 drop
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

