In-depth lesson · bug class
Race conditions
What every disclosed Race condition 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.
- disclosed reports read
- 1,504
- reports cited in this lesson
- 245
- median public bounty
- $2,000
Learning Race condition reading list APIs and access control, step 7
Where it is found
57The features and places the reports found it in, most-reported first.
-
Privileged file writes, cache saves and cookie jar saves
Seen in 7 reports
-
Upvote, downvote and reaction endpoints on community and content pages
Seen in 6 reports
-
Download opening and file handling in browsers
Seen in 5 reports
-
Team member addition and seat allocation endpoints
Seen in 4 reports
-
Subdomain creation, location creation and free domain claim endpoints
Seen in 4 reports
Technologies in these reports16
Root causes
50The mistakes in the code or configuration behind the reports.
-
The limit check and the creation step were not atomic, so concurrent requests all passed the check
Seen in 7 reports
-
The code checked whether an entry was a symlink and then deleted or wrote it, allowing a swap between check and use
Seen in 6 reports
-
The check-and-record step was not atomic, so concurrent duplicate requests were all accepted
Seen in 4 reports
-
The vote endpoint did not use an atomic operation or lock, so concurrent requests bypassed the duplicate-vote check
Seen in 3 reports
-
The redemption process was not locked or serialised, so several requests validated and applied the same coupon or card before the balance updated
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
Bypasses and variations
14How reports got past filters, encoders and other defences.
-
Send the same request from many threads so all pass the duplicate check before any record is written
Seen in 6 reports
-
Send parallel requests with different parameter values so each passes the limit check independently
Seen in 4 reports
-
Swap a symlink and a directory repeatedly so a privileged write follows the link
Seen in 4 reports
-
Send many requests in one TCP packet to widen the race window beyond the usual byte limit
Seen in 3 reports
-
Use one OTP generated for your own address against a parallel request carrying the victim's address
Seen in 2 reports
Payouts
37 paidPublic bounties in US dollars, from the data. 37 of 1,504 reports show an amount.
- a quarter paid up to
- $1,000
- median
- $2,000
- three quarters paid up to
- $4,000
- highest
- $31k
One in ten paid reports was paid $10k or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 87 | 2 | $10k | $15k |
| High | 587 | 8 | $3,500 | $20k |
| Medium | 262 | 6 | $2,440 | $3,000 |
| Low | 78 | 8 | $490 | $2,000 |
| Informational | 19 | 0 | None paid | None |
| Unrated | 471 | 13 | $2,000 | $31k |
Highest-paid reports5
-
$30,500 -
$20,000 High -
$15,250 Critical -
$10,000 High -
$10,000 High
Typical fixes
49How programs fixed it, as the reports describe.
-
Enforce limits with atomic counters or database constraints rather than a separate check
Seen in 7 reports
-
Use file descriptors opened with no-follow semantics and avoid check-then-use on paths
Seen in 6 reports
-
Use atomic check-and-record operations for follow and reaction endpoints
Seen in 4 reports
-
Record votes with an atomic insert or unique constraint per user and item
Seen in 3 reports
-
Lock or serialise redemption so the balance update and validation happen in one transaction
Seen in 3 reports
Guides and techniques
View allThe best explainers, cheat sheets and technique posts on Race condition, 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
-
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
-
Detecting and exploiting limit overrun race conditions with Burp RepeaterShows how to detect and exploit limit overrun race conditions using Burp Repeater's parallel send feature.
Technique cyberw1ng.medium.com
Keep learning
Where this lesson fits, and what to read next.
Learning paths
Lessons on single techniques in Race condition
Lessons to read next
How this is made: our model read every listed Race condition 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 265 reports. All Race condition reports.