Skip to content
Race condition Disclosed report Intermediate

race condition in adding team members

A race condition when adding team members let an attacker bypass the staff account limit for all plans. The program fixed it by adding an exclusive lock around account creation.

flashdisk Follow

Originally disclosed on HackerOne

  • Triaged in 29 hours
  • Fixed in 8 days
  • Paid in 25 days
  • Disclosed after 25 days

Summary by the program

The researcher reported a race condition when adding new staff members that would allow bypassing the staff account limit for all plans. We fixed this issue by adding an exclusive lock around the account creation process.

Note: Shopify no longer accepts reports regarding race conditions bypassing plan limits to this bug bounty program. Please make sure to check that your report has additional merchant impact beyond bypassing a plan limit before reporting.

The original report as published on HackerOne, by flashdisk. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the account creation process checked the staff limit and created the account without an exclusive lock, so concurrent requests could all pass the check.

Impact

An attacker could exceed the staff account limit on any plan, though the program now requires additional merchant impact beyond a plan limit bypass.

What the attacker needed

Ability to add team members; send concurrent requests

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A race condition happens when a system checks a limit and then acts, but two requests arrive so close together that both pass the check before either updates the count. Here, sending several requests to add staff at the same moment could create more accounts than the plan allows. The fix makes the account creation step happen one at a time.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by flashdisk

View all

9 more disclosed reports, best first.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.