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

CVE-2026-100868: Penpot Auth Bypass Vulnerability

CVE-2026-100868 is an authentication bypass vulnerability in Penpot before version 2.18.0 that exposes the MCP server plugin WebSocket bridge without authentication. This article covers technical details, affected versions, impact, 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-100868 Overview

CVE-2026-100868 affects Penpot versions prior to 2.18.0. The Model Context Protocol (MCP) server plugin WebSocket bridge binds to all network interfaces without authentication when Penpot runs in single-user mode. Attackers positioned on an adjacent network can connect to the exposed WebSocket port, impersonate the Penpot browser plugin, intercept task payloads sent by the MCP client, and return forged results. The weakness is tracked as [CWE-1327: Binding to an Unrestricted IP Address].

Critical Impact

Unauthenticated adjacent-network attackers can hijack MCP plugin bridge sessions, intercept design tool task data, and inject forged responses into the MCP client workflow.

Affected Products

  • Penpot versions prior to 2.18.0
  • Penpot MCP server package (mcp/packages/server)
  • Penpot PluginBridge WebSocket component in single-user mode deployments

Discovery Timeline

  • 2026-09-27 - CVE-2026-100868 published to the National Vulnerability Database
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-100868

Vulnerability Analysis

Penpot ships an MCP integration that lets AI clients drive design tasks through a browser-based plugin. The server component in mcp/packages/server/src/PluginBridge.ts instantiates a WebSocketServer without specifying a host. Node.js defaults an unbound WebSocket listener to 0.0.0.0, which accepts connections on every available interface. The bridge also performs no authentication handshake before accepting task traffic.

In single-user mode, this listener is intended to connect only the local browser plugin to the local MCP server over loopback. Because it binds to all interfaces, any host that can reach the port on an adjacent network segment can speak the bridge protocol. The confidentiality, integrity, and availability impact are each rated low because the data exposed is scoped to active MCP task payloads rather than full system state.

Root Cause

The root cause is an unrestricted bind combined with missing authentication on the WebSocket channel. The WebSocketServer constructor received only a port argument, so the listener attached to every interface. There was no shared secret, origin check, or transport-level authentication to validate that the connecting client was the legitimate Penpot browser plugin.

Attack Vector

An attacker on an adjacent network reaches the Penpot host and opens a WebSocket connection to the plugin bridge port. The attacker then poses as the browser plugin, receives queued task payloads from the MCP client, and sends crafted responses back. The MCP client consumes those forged results as if they came from a trusted plugin.

typescript
         private readonly taskTimeoutSecs: number,
         private readonly redisBridge?: RedisBridge
     ) {
-        this.wsServer = new WebSocketServer({ port: port });
+        this.wsServer = new WebSocketServer({ port: port, host: mcpServer.host });
         this.setupWebSocketHandlers();
     }

Source: Penpot commit b5274a4. The patch binds the WebSocket listener to the configured mcpServer.host rather than letting it default to all interfaces.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-100868

Indicators of Compromise

  • Inbound TCP connections to the Penpot MCP plugin bridge WebSocket port originating from non-loopback addresses.
  • MCP task responses that reference design artifacts the local browser plugin never produced.
  • Multiple concurrent WebSocket clients attached to a single-user Penpot MCP bridge instance.

Detection Strategies

  • Enumerate listening sockets on Penpot hosts and alert when the MCP bridge port is bound to 0.0.0.0 or :: instead of 127.0.0.1.
  • Inspect Penpot and MCP server logs for unexpected WebSocket upgrade events and client disconnect patterns.
  • Correlate MCP client task identifiers with browser plugin task identifiers to detect response forgery.

Monitoring Recommendations

  • Monitor network flow records for east-west traffic to Penpot WebSocket ports on single-user installations.
  • Track Penpot version strings across the environment and flag any instance below 2.18.0.
  • Alert on new processes binding to the MCP bridge port outside the expected service account.

How to Mitigate CVE-2026-100868

Immediate Actions Required

  • Upgrade Penpot to version 2.18.0 or later on all single-user and self-hosted deployments.
  • Restrict the MCP plugin bridge port to loopback using host firewall rules until the upgrade is complete.
  • Audit network reachability of Penpot hosts from adjacent VLANs and guest wireless segments.

Patch Information

The fix is delivered in Penpot 2.18.0 via commit b5274a4, which binds the PluginBridgeWebSocketServer to the host configured on the MCP server rather than every interface. Review the GitHub Security Advisory GHSA-22qr-rp27-j9wm and the companion GHSA-ch2q-6x56-qg5r for upgrade guidance, and consult the VulnCheck advisory for additional context.

Workarounds

  • Set the MCP server host configuration to 127.0.0.1 so the WebSocket listener binds only to loopback.
  • Block inbound traffic to the MCP plugin bridge port at the host firewall and at any upstream network control.
  • Disable the MCP server plugin on Penpot instances that do not require AI tool integration.
bash
# Restrict the Penpot MCP plugin bridge port to loopback on Linux hosts
# Replace <MCP_PORT> with the configured PluginBridge port
sudo iptables -A INPUT -p tcp --dport <MCP_PORT> ! -s 127.0.0.1 -j DROP
sudo ip6tables -A INPUT -p tcp --dport <MCP_PORT> ! -s ::1 -j 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

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.