← Lab /Security & privacy

CRLF-powered desync attacks can steal cookies, tokens, and PII from thousands of users

CRLF-powered desync attacks enable large-scale theft of session cookies, authentication tokens, and personal data across many web services.

Security & privacy PortSwigger Research 5 Aug 2026 Attack Real-world evidence

Published as “CRLF-Powered Desync Attacks: Beheading HTTP Streams”

Why it matters

CRLF-powered desync attacks represent an under-estimated, high-impact threat to modern web services and CDNs.

Summary

The researchers extended simple HTTP header injection into full-blown desync worms, showing how CRLF sequences can be used to split requests and poison response queues on CDNs, payment providers, and other services. They demonstrated real-world exploits that harvested session cookies, auth tokens, credit-card numbers, and other PII, earning multiple bug-bounty payouts. Their evidence includes live attacks against CDN edge nodes, a telecom provider, and a major phone manufacturer, though some detection methods proved unreliable and certain targets required custom tricks.

What they found 1

  1. Captured session cookies and auth tokens for thousands of applications hosted on a CDN

    “Impact wise, as a result of capturing requests, we also started to capture session cookies and auth tokens for thousands of applications hosted on the CDN.”

Caveats 7

  • Our detection techniques started to become less reliable.
  • In some cases we could not trigger a desync with two CRLF sequences and received closed connections.
  • Browser-based exploitation required the victim to stay on the attacker page for ~10 seconds.
  • Detection techniques became less reliable as the research progressed.
  • Successful exploitation often depended on specific response sizes or header ordering.
  • Browser attacks required user interaction and precise timing.
  • Some targets blocked the attack with WAFs or required custom header tricks.

What’s new here 4

  • detection and exploitation techniques for IP-locked and connection-locked desyncs.
  • Demonstration of browser-powered desync worms using fetch and window.open/iframe tricks.
  • Real-world theft of cookies, auth tokens, and credit-card data from CDNs and payment services.
  • Release of a Burp Suite extension and Nuclei templates to aid hunting for desyncs.