In-depth lesson · bug class
Request smuggling and header injection
What every disclosed Smuggling / CRLF report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.
- reports cited in this lesson
- 245
- median public bounty
- $1,800
Learning Smuggling / CRLF reading list Server-side injection, step 9
Overview
What it is and why programs pay for it.
Request smuggling and header injection are two closely related classes of bug that both come down to a disagreement or a missing check around HTTP message boundaries. Header injection happens when user-controlled data ends up in a response or protocol header without carriage return and line feed characters being stripped, so an attacker can add extra headers or split the response. Request smuggling happens when a front-end proxy and a back-end server parse the same request differently, usually because of conflicting or malformed framing headers, so one side sees two requests where the other sees one. The evidence covers both, from curl and libcurl across HTTP, SMTP, IMAP and gopher, through Node.js parsers, Ruby libraries, Tomcat, Apache modules and Cloudflare's ruleset engine, to plain web apps that build password reset links from the Host header.
Programs care because the impact is rarely limited to the endpoint you found. A smuggled request can poison a shared cache, steal another user's session, bypass front-end access controls, reach internal services or cloud metadata, or turn a password reset flow into account takeover. Header injection regularly chains into response splitting, cross-site scripting, cookie fixation, cache poisoning and credential theft. The reports here show hunters taking these bugs all the way to account takeover, session hijacking, remote code execution and internal origin access, which is why they sit among the higher-severity findings in the dataset.
The most common places to find them are front-end proxies and caches sitting in front of back-end servers that parse boundaries differently, password reset and newsletter flows that build links from the Host header, redirect endpoints and request paths that reflect input into response headers, and HTTP client and server libraries with loose parsing rules. The evidence also shows them on VPN and remote-access subdomains, documentation and API hosts, download endpoints, crypto and legal tech platforms, government hosts, and email sending infrastructure. Anywhere a request crosses a trust boundary between two parsers, or anywhere user input reaches a header, is worth a look.
Seen in these reports24
-
Critical -
Low -
$6,000 Critical
Show 5 moreShow fewer
-
$2,400 Medium -
$500 -
Medium -
Medium -
Info
How it works
The mechanics, as the reports show them.
Start with the framing headers. Every HTTP request has to tell the receiver where the body ends, either with a Content-Length or with Transfer-Encoding chunked. If a request carries both, or carries a malformed or duplicated Transfer-Encoding, different parsers can reach different conclusions about where the first request stops and the next one begins. The front end might read one request and forward it, while the back end reads the same bytes as two requests, the second of which the front end never inspected.
The classic trigger is an obfuscated Transfer-Encoding header. A space before the colon, a tab, unusual casing, a multi-line value or a duplicate header can make one parser ignore the header while the other honours it. The evidence shows this in proxies that downgrade HTTP/2 to HTTP/1.1, in Node.js llhttp handling of multi-line and edge-case Transfer-Encoding values, in WEBrick matching the token with a loose regular expression, and in Squid accepting whitespace between a header name and the colon. Each of these creates the same opportunity: a boundary the two sides disagree on.
Header injection is the simpler cousin. If an application places user input into a response header, a redirect Location, a cookie, or a protocol line in SMTP or IMAP without stripping carriage return and line feed characters, the attacker can terminate the current header and start a new one. The evidence shows this through redirect handling, request paths reflected into headers, query parameters reflected into headers, curl's SMTP client formatting sender and recipient addresses into protocol lines, memcached client libraries, LDAP password fields, PHP cURL options and Chromium's request header handling. The result can be extra headers, a split response with an injected body, or commands smuggled into a different protocol entirely.
Host header injection is a specific and very common variant. When an application builds a password reset link, a newsletter confirmation link or a system email link from the Host header or X-Forwarded-Host without validating it against an allowlist, the attacker can point that link at their own host. If the victim clicks it, the reset token or confirmation token is delivered to the attacker. The evidence shows this across many password reset flows, newsletter signup forms and system email sending, and hunters chained it with IDOR and information leakage to reach full account takeover.
What makes all of this possible is a missing or inconsistent check at a trust boundary. Front end and back end use different rules for parsing request boundaries. A parser normalises a carriage return in a header name to a hyphen instead of rejecting it, or accepts a non-standard header block terminator, or skips trailer lines without a colon. A library does not reject line breaks in URLs or unusual Unicode whitespace in the request path. A ruleset engine fails to sanitise hexadecimal escape sequences that decode to carriage return and line feed. The fix in every case is the same shape: reject ambiguous input rather than guessing, and make both sides of the boundary agree.
Seen in these reports32
-
Critical -
Critical -
High
Show 5 moreShow fewer
-
$6,000 Critical -
$4,660 High -
$3,100 Critical -
$2,500 Low -
$2,400 Medium
Year by year
12 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2011 | 1 |
|---|---|
| 2015 | 4 |
| 2016 | 8 |
| 2017 | 13 |
| 2018 | 6 |
| 2019 | 14 |
| 2020 | 25 |
| 2021 | 15 |
| 2022 | 21 |
| 2023 | 14 |
| 2024 | 17 |
| 2025 | 39 |
| 2026 | 73 |
-
2026
New this year4
- curl option values that allow CRLF injection into protocol commands first appear as a broad theme in the disclosed reports.
- Request and response parser asymmetries in Node.js and other HTTP stacks first appear as a clear theme in the disclosed reports.
- Using a CRLF injection to reach the HAProxy PROXY protocol and spoof an IP first shows up in the disclosed reports.
Kept working5
- Passing a custom header value containing CRLF to curl to reach request smuggling or SSRF worked in the disclosed reports.
- Sending a proxy auth challenge carrying both Content-Length and Transfer-Encoding so the client read only the Content-Length bytes and left the rest to be parsed as the next response worked in the disclosed reports.
Turned up less1
- The HTTP/3 header conversion focus of 2025 is not repeated in the 2026 reports.
-
2025
New this year3
- curl and libcurl CRLF injection across protocols first appears as a dominant theme in the disclosed reports.
- HTTP/3 header handling and conversion reports first appear in the disclosed reports.
- Putting CRLF into a netrc file entry to make curl inject headers first shows up in the disclosed reports.
Kept working4
- Passing a mail-from or mail-rcpt value containing CRLF to curl's SMTP client to smuggle extra SMTP commands worked in the disclosed reports.
- Passing a value containing CRLF to curl's proxy-header option to inject extra headers worked in the disclosed reports.
Turned up less1
- The Tomcat trailer and incomplete POST focus of 2024 is not repeated in the 2025 reports.
-
2024
New this year2
- Tomcat trailer header parsing and incomplete POST handling grows into a clear theme in the disclosed reports.
- Sending a TRACE request through a front end to enable a desync or cache poisoning first shows up in the disclosed reports.
Kept working3
- Sending an incomplete POST to Tomcat and checking whether the error response contained another user's data worked in the disclosed reports.
- Sending a chunked request with a trailer line that lacks a colon followed by a second request so the server treated part of the second request as the first request's trailer worked in the disclosed reports.
Turned up less1
- The Cloudflare ruleset engine smuggling of 2022 is not repeated in the 2024 reports.
Earlier years9
Where it is found
106The features and places the reports found it in, most-reported first.
-
curl and libcurl across HTTP, SMTP, IMAP, gopher and HAProxy PROXY protocol.
Seen in 23 reports
-
Front-end proxies and back-end servers that parse request boundaries differently.
Seen in 19 reports
-
Node.js llhttp parser and undici client.
Seen in 14 reports
-
Node.js HTTP servers and clients.
Seen in 7 reports
-
Cacheable pages behind a front-end cache.
Seen in 5 reports
Technologies in these reports16
Root causes
44The mistakes in the code or configuration behind the reports.
-
The front end and back end use different rules for parsing request boundaries.
Seen in 18 reports
-
User input is placed into a response header without stripping carriage return and line feed characters, including via redirect handling, the request path and query-string values.
Seen in 7 reports
-
The Node.js HTTP parser does not reject malformed header names or values.
Seen in 4 reports
-
The front end ignores an obfuscated Transfer-Encoding header while the back end honours it.
Seen in 3 reports
-
The llhttp parser did not correctly parse multi-line Transfer-Encoding headers.
Seen in 3 reports
Things to try
The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.
ticked in this lesson
CRLF injection fundamentals
of 3 ticked-
Seen in 7 reports
-
Seen in 6 reports
-
Seen in 5 reports
Request smuggling via parser discrepancies
of 3 ticked-
Seen in 11 reports
-
Seen in 4 reports
-
Seen in 3 reports
Header line ending and whitespace quirks
of 3 ticked-
Seen in 5 reports
-
Seen in 2 reports
-
Seen in 2 reports
Client-side desync
of 3 ticked-
Seen in 7 reports
-
Seen in 5 reports
-
Seen in 3 reports
Bypasses and variations
46How reports got past filters, encoders and other defences.
-
Set the cookie on the parent domain rather than the subdomain.
Seen in 4 reports
-
Smuggle a request for a blocked path past the front-end proxy.
Seen in 3 reports
-
Poison a cached redirect so a legitimate user is served your content.
Seen in 3 reports
-
Prepend a smuggled request to a victim's next request.
Seen in 3 reports
-
Use request smuggling to steal session cookies and take over accounts.
Seen in 3 reports
Payouts
38 paidPublic bounties in US dollars, from the data. 38 of 300 reports show an amount.
- a quarter paid up to
- $350
- median
- $1,800
- three quarters paid up to
- $4,660
- highest
- $36k
One in ten paid reports was paid $9,700 or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 16 | 4 | $4,550 | $7,500 |
| High | 37 | 9 | $4,000 | $20k |
| Medium | 67 | 9 | $1,200 | $2,400 |
| Low | 26 | 4 | $225 | $2,500 |
| Informational | 9 | 0 | None paid | None |
| Unrated | 145 | 12 | $3,400 | $36k |
Highest-paid reports5
-
$36,000 -
$20,000 High -
$17,050
-
$12,500
-
$8,500
Typical fixes
28How programs fixed it, as the reports describe.
-
Reject or strip carriage return and line feed characters from all values written into protocol lines.
Seen in 26 reports
-
Make front end and back end agree on request boundaries and reject ambiguous requests.
Seen in 18 reports
-
Reject requests with both Transfer-Encoding and Content-Length, and reject malformed or multi-line Transfer-Encoding headers.
Seen in 7 reports
-
Strip carriage return and line feed characters from user input before placing it in a response header, including redirect handling.
Seen in 6 reports
-
Enforce strict CRLF delimiters and reject non-standard header block terminators.
Seen in 5 reports
Tips for beginners
14Advice for a first hunt, drawn from the reports.
-
Show impact, not just the primitive. A reflected header on its own is weak. Chain it: inject a cookie-setting header and fix a CSRF token, add a permissive cross-origin header and read authenticated data, poison a cached redirect and show a legitimate user being served your content, or smuggle a request to steal a session cookie. The reports here that paid well are the ones that reached account takeover, session hijacking or internal access.
Seen in 10 reports
-
Test client libraries as well as servers. The evidence covers curl and libcurl across HTTP, SMTP, IMAP and gopher, Python urllib, Ruby net/http and CGI, Node.js undici and memcached clients. If a library formats user input into a protocol line without stripping newlines, that is a real bug, and it is worth checking whether the application passes user input into it.
Seen in 10 reports
-
Try obfuscating the Transfer-Encoding header rather than sending it plainly. A space before the colon, a tab, unusual casing, a multi-line value or a duplicate header can make one parser ignore it while the other honours it. The evidence shows this working against proxies, Node.js parsers, WEBrick and Squid, so it is worth trying on any host behind a proxy.
Seen in 9 reports
-
For smuggling, send a request with both Content-Length and Transfer-Encoding, with a smuggled request after the chunked body terminator, and check whether two responses come back on one connection. A delayed 504 response is also a useful indicator that something is desyncing, so watch for it on streaming and video subdomains.
Seen in 8 reports
-
Do not report a parser difference with no demonstrated consequence. A server accepting a malformed header is not a finding on its own. You need to show that the difference lets you do something the application would not otherwise allow, such as reaching a blocked path, bypassing access control, poisoning a cache or reading another user's data.
Seen in 8 reports
Guides and techniques
View allThe best explainers, cheat sheets and technique posts on Smuggling / CRLF, from around the web.
-
CRLF-Powered Desync Attacks: Beheading HTTP StreamsExplains how to escalate mere CRLF header injection into critical request desync and tunnelling attacks against HTTP streams.
Technique PortSwigger Research
-
Beware the false false-positive: how to distinguish HTTP pipelining from request smugglingExplains how to tell genuine HTTP request smuggling from harmless pipelining false positives during testing.
Technique portswigger.net
-
How to join the desync endgame: Practical tips from pentester Tom StaceyPentester Tom Stacey shares practical advice on hunting HTTP desync and request smuggling bugs in real targets.
Technique portswigger.net
-
The Desync Delusion: Are You Really Protected Against HTTP Request Smuggling?PortSwigger examines whether common defences truly stop HTTP request smuggling and where desync protections fall short.
Explainer portswigger.net
-
The ultimate Bug Bounty guide to HTTP request smuggling vulnerabilitiesExplains HTTP request smuggling variants CL.TE, TE.CL, TE.TE and HTTP/2 downgrade attacks with practical payload examples.
Explainer yeswehack.com
Keep learning
Where this lesson fits, and what to read next.
Learning paths
Lessons on single techniques in Smuggling / CRLF
Lessons to read next
How this is made: our model read every listed Smuggling / CRLF report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 26 Nov 2026 from 255 reports. All Smuggling / CRLF reports.