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-108555 Overview
CVE-2026-108555 is an IP spoofing vulnerability in PairDrop through version 1.11.2, a self-hosted peer-to-peer file-sharing application. The flaw resides in the Peer._setIP function, which trusts the cf-connecting-ip HTTP header without validating that the request originated from Cloudflare. Remote attackers who know a victim's public IP address can forge this header to join discovery rooms on self-hosted PairDrop instances that are not deployed behind Cloudflare. Once in the room, the attacker appears as a local device and can send files to or receive files from the victim.
Critical Impact
Attackers can impersonate a local network peer on vulnerable self-hosted PairDrop deployments and exchange files with unsuspecting users, breaking the trust model that confines file sharing to the same local network.
Affected Products
- PairDrop versions through 1.11.2
- Self-hosted PairDrop instances not deployed behind Cloudflare
- Deployments where the WebSocket server directly accepts client-supplied cf-connecting-ip headers
Discovery Timeline
- 2026-10-10 - CVE-2026-108555 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108555
Vulnerability Analysis
PairDrop groups peers into discovery rooms based on their public IP address so that devices on the same network can discover each other and transfer files. The server derives the peer IP inside Peer._setIP in server/peer.js and uses it to assign the client to a room. When the request contains a cf-connecting-ip header, PairDrop treats that header value as the authoritative client IP. The WebSocket handler in server/ws-server.js passes request headers directly to the peer constructor without verifying the upstream source.
The weakness is classified as [CWE-348]: Use of Less Trusted Source. Cloudflare only guarantees header integrity when traffic actually traverses its edge. Any self-hosted instance exposed directly to the Internet, or behind a reverse proxy that does not strip the header, inherits a client-controlled IP identity. An attacker who learns the victim's public IP can send a crafted header and share a room with the victim.
Root Cause
The root cause is unconditional trust in a request header that any client can set. PairDrop does not check whether the TCP connection originated from a Cloudflare IP range, nor does it make header trust configurable based on deployment mode. The default behavior is unsafe for the common self-hosted scenario documented in the project README.
Attack Vector
Exploitation requires network reachability to the target PairDrop server and prior knowledge of the victim's public IP address. The attacker connects to the server over WebSocket and includes a cf-connecting-ip: <victim_ip> header during the handshake. The server places the attacker in the victim's discovery room. User interaction is required on the victim side to accept an incoming transfer, which reduces the practical impact but still enables social-engineering-driven file delivery or opportunistic receipt of files the victim initiates.
See the VulnCheck PairDrop Advisory and the vulnerable code in server/peer.js lines 44-54 and server/ws-server.js lines 312-314 for technical details.
Detection Methods for CVE-2026-108555
Indicators of Compromise
- WebSocket upgrade requests containing a cf-connecting-ip header whose source TCP address is not a published Cloudflare edge IP
- PairDrop server logs showing peers joining discovery rooms from geographically or topologically implausible IPs
- Unexpected inbound file-transfer prompts in the PairDrop client without any new device joining the local network
Detection Strategies
- Enable reverse-proxy or application-layer logging of all HTTP headers on WebSocket upgrade requests to the PairDrop endpoint and alert when cf-connecting-ip appears from non-Cloudflare sources
- Compare the TCP remote address of each WebSocket connection against the published Cloudflare IP ranges and flag mismatches when forwarding headers are present
- Track discovery-room membership and alert when peers with disparate autonomous system numbers (ASNs) share a room
Monitoring Recommendations
- Forward PairDrop and reverse-proxy access logs to a centralized log platform for correlation and retention
- Monitor WebSocket connection patterns for repeated attempts that vary the cf-connecting-ip value, indicating IP enumeration
- Review audit trails for file-transfer events on self-hosted PairDrop instances to confirm each peer corresponds to a known local device
How to Mitigate CVE-2026-108555
Immediate Actions Required
- Inventory all self-hosted PairDrop deployments and identify instances exposed directly to the Internet without Cloudflare in front
- Place any Internet-facing PairDrop instance behind Cloudflare, or behind a trusted reverse proxy that strips client-supplied cf-connecting-ip, x-forwarded-for, and x-real-ip headers before forwarding
- Restrict access to the PairDrop server using a VPN, authenticated reverse proxy, or IP allowlist until a patched release is deployed
Patch Information
At the time of publication, the advisory identifies versions through 1.11.2 as vulnerable. Monitor the upstream project at PairDrop on GitHub and the tracking issue at PairDrop Issue #510 for an official fix. Upgrade to the first release that validates the TCP source address of connections before honoring Cloudflare-specific headers.
Workarounds
- Configure the fronting reverse proxy (for example, nginx, Caddy, or Traefik) to unset the cf-connecting-ip header on all inbound requests before they reach the PairDrop server
- Deploy PairDrop only on isolated internal networks where every connecting peer is already trusted
- If using Cloudflare, enable Cloudflare Authenticated Origin Pulls so the server only accepts connections from the Cloudflare edge, ensuring the header can be trusted
# nginx example: strip client-supplied Cloudflare header before proxying to PairDrop
location / {
proxy_set_header cf-connecting-ip "";
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
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

