Skip to content

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

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.

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.

Year by year

12 years

What each year's disclosed reports show, newest first. A year with few reports says less.

Reports per yearPeak 2026: 73
Reports per year
20111
20154
20168
201713
20186
201914
202025
202115
202221
202314
202417
202539
202673
  1. 2026

    73 reports · median $1,500

    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.
    and 1 more

    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.
    and 3 more

    Turned up less1

    • The HTTP/3 header conversion focus of 2025 is not repeated in the 2026 reports.
  2. 2025

    39 reports

    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.
    and 2 more

    Turned up less1

    • The Tomcat trailer and incomplete POST focus of 2024 is not repeated in the 2025 reports.
  3. 2024

    17 reports · median $4,660

    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.
    and 1 more

    Turned up less1

    • The Cloudflare ruleset engine smuggling of 2022 is not repeated in the 2024 reports.
Every point, year by year

Where it is found

106

The features and places the reports found it in, most-reported first.

  1. curl and libcurl across HTTP, SMTP, IMAP, gopher and HAProxy PROXY protocol.

    Seen in 23 reports
  2. Front-end proxies and back-end servers that parse request boundaries differently.

    Seen in 19 reports
  3. Node.js llhttp parser and undici client.

    Seen in 14 reports
  4. Node.js HTTP servers and clients.

    Seen in 7 reports
  5. Cacheable pages behind a front-end cache.

    Seen in 5 reports
View all 106

Root causes

44

The mistakes in the code or configuration behind the reports.

  1. The front end and back end use different rules for parsing request boundaries.

    Seen in 18 reports
  2. 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
  3. The Node.js HTTP parser does not reject malformed header names or values.

    Seen in 4 reports
  4. The front end ignores an obfuscated Transfer-Encoding header while the back end honours it.

    Seen in 3 reports
  5. The llhttp parser did not correctly parse multi-line Transfer-Encoding headers.

    Seen in 3 reports
View all 44

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
More in CRLF injection fundamentals

Request smuggling via parser discrepancies

of 3 ticked
  • Seen in 11 reports
  • Seen in 4 reports
  • Seen in 3 reports
More in Request smuggling via parser discrepancies

Header line ending and whitespace quirks

of 3 ticked
More in Header line ending and whitespace quirks

Client-side desync

of 3 ticked
  • Seen in 7 reports
  • Seen in 5 reports
  • Seen in 3 reports
More in Client-side desync
View more things to try

Bypasses and variations

46

How reports got past filters, encoders and other defences.

  1. Set the cookie on the parent domain rather than the subdomain.

    Seen in 4 reports
  2. Smuggle a request for a blocked path past the front-end proxy.

    Seen in 3 reports
  3. Poison a cached redirect so a legitimate user is served your content.

    Seen in 3 reports
  4. Prepend a smuggled request to a victim's next request.

    Seen in 3 reports
  5. Use request smuggling to steal session cookies and take over accounts.

    Seen in 3 reports
View all 46

Payouts

38 paid

Public 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.

SeverityReportsPaidMedianHighest
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

Typical fixes

28

How programs fixed it, as the reports describe.

  1. Reject or strip carriage return and line feed characters from all values written into protocol lines.

    Seen in 26 reports
  2. Make front end and back end agree on request boundaries and reject ambiguous requests.

    Seen in 18 reports
  3. Reject requests with both Transfer-Encoding and Content-Length, and reject malformed or multi-line Transfer-Encoding headers.

    Seen in 7 reports
  4. Strip carriage return and line feed characters from user input before placing it in a response header, including redirect handling.

    Seen in 6 reports
  5. Enforce strict CRLF delimiters and reject non-standard header block terminators.

    Seen in 5 reports
View all 28

Tips for beginners

14

Advice for a first hunt, drawn from the reports.

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
View all 14

Guides and techniques

View all

The best explainers, cheat sheets and technique posts on Smuggling / CRLF, from around the web.

Keep learning

Where this lesson fits, and what to read next.

Lessons on single techniques in Smuggling / CRLF

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.