Where does the bug appear (feature/product)?
Somewhere else…
Describe the Bug
Bad actors can create multiple accounts (Admin Standard/Premium, Member Standard/Premium) and then accept the invite link simultaneously.
The current request limit is 5, but this used to be unlimited before it was half patched (to my knowledge).
Currently, many bad actors are abusing this concurrency bug to profit financially (In Chinese black market, and this methods had been leaked).
Since an open invoice remains valid for 7 days (with automatic payment retries) before turning into “unpaid,” the damage is already done by the time the invoice and subscription expires.
A recommend fixure is to limit the concurrent to 1 or convert to synchronous request.
Steps to Reproduce
- Create a new team ($40/mo)
- Create invite link
- Prepare 5+ account (plan type doesn’t matter, even
Free/Startworks) - Write a script to accept the invite link concurrently (
/api/accept-invite) - Profit
Expected Behavior
Only 1 account should be accepted (due to the seat limit).
All other requests should either receive a 429 error or be queued sequentially.
Operating System
Other
Version Information
(Since this is a web api problem, no version required)
Additional Information
For others that is trying to abusing this kind of bug, stop right now, and don’t ever trying to damage Cursor becuase it will make people more hated about this kind of behaviour.
Does this stop you from using Cursor
Yes - Cursor is unusable