In-depth lesson · technique
Single-packet race attack
What every disclosed Single-packet race attack 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
- 108
- median public bounty
- $500
Overview
What it is and why programs pay for it.
A single-packet race attack is a way of winning race conditions by sending many requests at almost exactly the same moment, often inside one TCP or HTTP/2 packet window. The aim is to make several requests pass a check before any of them records a state change, so a limit, balance or one-time action is applied more than once. Programs care because the result is often a logic flaw with direct business impact, such as duplicate credits, bypassed limits or privilege escalation.
This technique usually leads to duplicate redemptions, bypassed per-user or per-account limits, or privilege boundaries being crossed. It is most often found in web flows that check then act without locking, such as coupon and gift card redemption, trial starts, invitation joins, organisation creation, email changes, owner removal, attachment uploads and login attempt counters. It also appears in local Windows services and drivers where shared resources are accessed concurrently without synchronisation.
The evidence covers both remote and local variants. On the web side, hunters fire parallel requests at endpoints that enforce limits or one-time actions. On the local side, they race operations in services and drivers to reach SYSTEM or escape a sandbox. The common thread is a check followed by a state change that is not atomic, or a shared resource accessed without proper synchronisation.
Seen in these reports22
-
$3,000 -
$500 Low -
$250 Medium
Show 5 moreShow fewer
-
High -
Low -
Low -
Info
How it works
The mechanics, as the reports show them.
The attack works by exploiting a gap between a check and the action that depends on it. If a server checks whether a coupon is unused, then marks it used in a separate step, many simultaneous requests can all read the unused state before any of them writes the used state. Each request then proceeds as if it were the first. The same pattern applies to balance deductions, record inserts, counter updates and one-time tokens.
To make the requests land together, hunters use a single-packet attack. Instead of sending requests one after another, they send many requests in one TCP or HTTP/2 window so the server receives them at nearly the same instant. This widens the race window and increases the chance that all requests pass the check before any state change is committed. When packet size limits the number of requests, a first-sequence sync approach can extend the burst.
What makes this possible is the absence of atomicity or locking around the check and the state change. A database row is read, validated, then updated in a separate statement without a lock or conditional update. A counter is read, compared to a limit, then incremented later. A resource is validated then used without protection against change in between. In local services, a shared object is accessed by multiple threads without synchronisation, or an object is freed while another thread still holds a reference.
The same principle appears in protocol handling. Concurrent SSTP, PPTP, LDAP, DNS or print task processing can use memory unsafely, leading to corruption or worse. A race in the ALPC component can let a contained process escape isolation. A channel that does not verify the connecting client is the intended admin endpoint can be joined by the wrong party. In each case, the flaw is that concurrent operations are not serialised or validated correctly.
On the web side, the step by step is usually: identify an endpoint that enforces a limit or one-time action, capture a valid request, then send many copies in parallel using a single-packet burst. The hunter then compares the responses and the resulting state. Success looks like several success responses instead of one, a balance credited more than once, a limit exceeded, or a duplicate record created. The evidence shows this pattern across coupons, gift cards, trials, invitations, organisation creation, email changes, owner removal, attachments, reviews, logins and OTP verification.
Seen in these reports37
-
$500 Low -
High -
Low
Show 5 moreShow fewer
-
Critical -
$3,000 -
$250 Medium -
$250 Low
Year by year
6 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2020 | 3 |
|---|---|
| 2021 | 1 |
| 2022 | 10 |
| 2023 | 12 |
| 2024 | 18 |
| 2025 | 28 |
| 2026 | 60 |
-
2026
New this year4
- Several reports applied the single-packet attack to web limits, HTTP/2 framing and CAPTCHA checks.
- Swapping a link target between the check and the file access was checked for opening or tampering with a protected file.
- Sending a single packet whose framing differs between HTTP/2 and the backend and racing the resulting requests appears as a new framing mismatch technique.
Kept working6
- A large share of the batch was Microsoft desktop advisories where winning a race condition was the stated exploitation requirement.
- Web reports repeatedly showed limit-overrun races on redemption, follow, trial and creation endpoints.
Turned up less2
- The simple follow button race on user profiles, common in earlier years, is not among the 2026 evidence.
- The gift card redemption race that credited the balance more than once is not among the 2026 evidence.
-
2025
New this year4
- A GraphQL redeem mutation behind a coupon button appears as a target for a single-packet burst.
- Sending many concurrent requests for an object identifier you do not own and looking for a few responses returning restricted data appears.
- Adding family members with a parallel burst of requests carrying different names and emails was checked for bypassing the member limit.
Kept working5
- A large share of the batch was Microsoft desktop advisories where winning a race condition was the stated exploitation requirement.
- Web reports repeatedly showed limit-overrun races on redemption, follow, trial and creation endpoints.
-
2024
New this year2
- Desktop kernel and driver reports describe use-after-free races in socket, tty and IPv6 handling.
- A contract trick using an always-reverting contract to insert a fake reverted transaction with the victim's nonce appears.
Kept working3
- A large share of the batch was Microsoft desktop advisories where winning a race condition was the stated exploitation requirement.
- Racing concurrent kernel operations from a local account was checked for a use-after-free leading to SYSTEM.
Earlier years3
Where it is found
76The features and places the reports found it in, most-reported first.
-
Windows local services and drivers that handle shared resources across security contexts.
Seen in 8 reports
-
Windows Installer privilege handling during installation.
Seen in 6 reports
-
SSTP message handling on a routing and remote access server.
Seen in 4 reports
-
Coupon application endpoint at checkout.
Seen in 3 reports
-
Follow button on user profiles and people pages.
Seen in 2 reports
Technologies in these reports8
Root causes
44The mistakes in the code or configuration behind the reports.
-
A check followed by a state change (such as a balance deduction, record insert, counter update or marking as used) is not atomic or locked, so concurrent requests all pass the check and act on the same pre-update state.
Seen in 24 reports
-
A shared resource is accessed concurrently without proper synchronisation.
Seen in 16 reports
-
Concurrent protocol message handling uses memory unsafely.
Seen in 4 reports
-
An authorisation or access check is skipped, misapplied or performed before the target is resolved, so a concurrent request can swap the target between check and use.
Seen in 3 reports
-
Sensitive data is kept in memory without proper access restrictions or locking.
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
Kernel drivers and local privilege escalation
of 3 tickedRemote access and VPN protocols
of 3 ticked-
Seen in 4 reports
-
Seen in 1 report
Installer and update services
of 3 ticked-
Seen in 7 reports
-
Seen in 1 report
-
Seen in 1 report
Bypasses and variations
20How reports got past filters, encoders and other defences.
-
Increase the number of simultaneous requests until the cart total goes below zero during coupon redemption.
Seen in 1 report
-
Stack the same single-use coupon several times on one order to cut the total to zero.
Seen in 1 report
-
Use a different password in each request of the parallel group to brute force without tripping the lockout.
Seen in 1 report
-
Repeat the burst against the same unauthorised identifier until a few responses leak restricted data.
Seen in 1 report
-
Repeat the same salt to keep blocking well creation for the victim, a denial of service variation.
Seen in 1 report
Payouts
5 paidPublic bounties in US dollars, from the data. 5 of 143 reports show an amount.
- a quarter paid up to
- $250
- median
- $500
- three quarters paid up to
- $3,000
- highest
- $20k
One in ten paid reports was paid $13k or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 12 | 0 | None paid | None |
| High | 61 | 1 | $20k | $20k |
| Medium | 5 | 1 | $250 | $250 |
| Low | 4 | 2 | $375 | $500 |
| Informational | 1 | 0 | None paid | None |
| Unrated | 60 | 1 | $3,000 | $3,000 |
Highest-paid reports5
-
$20,000 High -
$3,000 -
$500 Low -
$250 Low -
$250 Medium
Typical fixes
28How programs fixed it, as the reports describe.
-
Lock the coupon row or use an atomic conditional update so only one request can mark it used.
Seen in 4 reports
-
Lock or restrict access to sensitive data held in memory.
Seen in 3 reports
-
Resolve links after the access check or prevent the target being swapped.
-
Add a database-level unique constraint on the organisation name instead of relying on a pre-check.
Seen in 1 report
-
Perform the at-least-one-owner check and the deletion in one atomic transaction.
Seen in 1 report
Tips for beginners
13Advice for a first hunt, drawn from the reports.
-
On local Windows targets, race concurrent operations in services and drivers and check whether SYSTEM or a higher integrity level is reached. Focus on shared resources accessed without synchronisation, object lifetime issues, and check-then-use gaps. Only test on systems you are authorised to test.
Seen in 14 reports
-
Start with endpoints that enforce a one-time action or a per-account limit, such as coupon redemption, gift card redemption, trial start, invitation join, organisation creation, email change, owner removal, attachment upload, review submission, login attempts and OTP verification. These are the most common places where a check and a state change are not atomic.
Seen in 13 reports
-
For protocol handlers, send crafted messages concurrently and check for memory corruption or unsafe memory handling. This applies to SSTP, PPTP, LDAP, DNS, print tasks and similar services. These tests carry risk of denial of service, so only run them in a controlled environment with permission.
Seen in 9 reports
-
Do not report a race condition that only produces a duplicate record with no security or business impact. The evidence shows many fixes are about atomicity, but the finding must demonstrate a real consequence such as duplicate credit, bypassed limit, privilege escalation or data exposure.
Seen in 7 reports
-
When you find a race, show impact clearly: the number of successful requests versus the expected limit, the resulting state change, and why it matters. For example, show that a coupon was applied several times, that a balance was credited more than once, or that an organisation was left with no owner.
Seen in 6 reports
Guides and techniques
The best explainers, cheat sheets and technique posts on Single-packet race attack, from around the web.
-
Testing race conditions with memory access tracing and stack-based delay injectionProject Zero explains using memory access tracing and stack based delay injection to reliably trigger and test race condition bugs.
Technique Project Zero
-
WebSocket Turbo Intruder: Unearthing the WebSocket GoldminePortSwigger releases a WebSocket extension for Turbo Intruder, enabling high-speed fuzzing and race attacks over WebSocket connections.
portswigger.net
-
How to build custom scanners for web security research automationJames Kettle explains how to build custom scanners for under-researched attack classes, using web race conditions as the worked example.
Methodology portswigger.net
-
Concurrency exploits: The ultimate Bug Bounty guide to exploiting race condition vulnerabilities in web applicationsCovers race condition exploitation using last-byte synchronisation and single-packet attacks with Turbo Intruder, plus mitigation advice.
Explainer yeswehack.com
-
A Race to the Bottom - Database Transactions Undermining Your AppSecShows how overlooked database transaction isolation causes race conditions that undermine application security logic.
Explainer blog.doyensec.com
Keep learning
Where this lesson fits, and what to read next.
The whole class
Related techniques
How this is made: our model read every listed Single-packet race attack 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 27 Nov 2026 from 108 reports. All Single-packet race attack reports.