Skip to content
Race condition Disclosed report Intermediate

Exceeding the maximum number of spaces allowed by exploiting a Race Condition in the Workspace creation process

The workspace creation process lacked server-level locking, so sending several CreateWorkspace requests at the same time let a user create more shared workspaces than the one-per-organization limit allowed. This could lead to unauthorised resource consumption and possible denial of service through resource exhaustion.

bl4ck- Follow

Originally disclosed on HackerOne

  • Triaged in 22 days
  • Fixed in 8 months
  • Disclosed after 11 months

Summary by the program

This vulnerability report describes a race condition in SingleStore's workspace creation process that allowed users to bypass the system's one-workspace-per-organization limit. By sending multiple parallel CreateWorkspace requests simultaneously to the backend.singlestore.com endpoint, an attacker could create multiple shared workspaces before the system performed its quota validation check. The researcher demonstrated this by exploiting the lack of server-level locking during workspace creation, which could lead to unauthorized resource consumption and potential denial-of-service through resource exhaustion. SingleStore validated the report, classified it as Low severity due to limited practical attack vectors and financial impact, and subsequently patched the underlying database transactional logic to prevent concurrent transactions from bypassing the workspace limit.

The original report as published on HackerOne, by bl4ck-. 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 quota check and the workspace creation were not performed atomically, so concurrent requests could all pass validation before any creation was committed.

Impact

The bypass could lead to unauthorised resource consumption and potential denial of service through resource exhaustion, though the vendor rated it Low because practical attack vectors and financial impact were limited.

What the attacker needed

An organisation account; ability to send parallel requests

The fix

The underlying database transactional logic was patched so concurrent transactions can no longer bypass the workspace limit.

How it was found

  1. Send several CreateWorkspace requests to the backend endpoint at the same time.
  2. Observe that more workspaces are created than the organisation limit permits.

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 program checks a rule and then acts on it, and someone slips extra requests in between the check and the action. Here the service checked how many workspaces an organisation had, but several requests arriving at once all passed the check before any of them was recorded. The result was more workspaces than the plan allowed, which uses up shared resources.

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 bl4ck-

View all

6 more disclosed reports, best first.

More from SingleStore

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.