OAuth Refresh Token Reuse Race Condition & Account Takeover
Simultaneous token refresh requests from multi-tab sessions triggered false reuse detection, locking user accounts.
Illustrative scenario, not a real incident
What happened
Contributing factors stated by the source
- Simultaneous token refresh requests from multi-tab sessions triggered false reuse detectio...
The failure pattern
Watch the pattern: Partial success leaves systems out of sync
Related standards
CollectSEA's mapping through this incident's failure pattern; not an official determination by the standards bodies.
Building something similar?
Describe your design and see every precedent that applies, with safeguards you can hand to your coding agent.
Incidents with the same pattern
43-second network partition triggers database failover and unreplicated writes (GitHub, 2018)
Network maintenance caused a 43-second loss of connectivity between GitHub's US East Coast hub and its primary data center, which led to 24 hours and 11 minutes of degraded service.
Confusing loan-system interface leads Citibank to wire nearly $900 million in principal to Revlon lenders (2020)
Unintuitive Flexcube interface required checking obscure override box; bank accidentally wired $894M of proprietary funds to Revlon lenders.
Design reference: idempotency keys make retried payment API calls safe (Stripe)
Stripe explains that a client which cannot tell whether a request succeeded (for example after a network failure) needs to retry safely, and that without protection a retried charge could double-charge a customer.
Software component issue could cause actions to run with inconsistent state
A public security advisory describes this issue. Review the linked source for the technical details and remediation guidance.
Software component issue could cause actions to run with inconsistent state
A public security advisory describes this issue. Review the linked source for the technical details and remediation guidance.
Software component issue could cause actions to run with inconsistent state
A public security advisory describes this issue. Review the linked source for the technical details and remediation guidance.