November 19, 2026
I Wasnโt Supposed to Be Here, But Nobody Stopped Me
A Critical Broken Access Control vulnerability that turned a forced team addition into a workspace takeover and permanent data destruction.

By Mahmoud_Elkholy
5 min read
I Wasn't Supposed to Be Here, But Nobody Stopped Me
"People will look where they should be looking if they want to see how the trick really works."
โ Patrick Jane
The Setting
The platform provides a collaborative email environment where teams can manage shared inboxes, organize conversations, and coordinate their daily workflows through shared workspaces.
At its core, the platform allows users to collaborate within teams, with administrative controls over team membership and workspace management.
But there was a problem with how those teams were managed.
An administrator could add another user's email address to their team. That action did not simply grant access. It could forcibly move the user, transfer control of their existing workspaces, and ultimately allow someone else to destroy everything they had built.
The Characters
Two separate accounts were created for this investigation:
- ATTACKER โ An account with its own team and administrative privileges.
- VICTIM โ An independent account with its own team and at least one existing workspace.
Before the test, the Victim had full control over its original workspace.
The objective was to determine whether an administrator could add another user to their team without that user's consent, and what would happen to the resources the user already owned.
Act I โ The Invitation That Required No Permission
From the Attacker's account, I navigated to the team settings and attempted to add the Victim using its email address.
Normally, adding someone to a team should involve an invitation process. The recipient should have the opportunity to accept or decline before becoming a member.
That was not what happened.
The application immediately added the Victim to the Attacker's team without requiring any confirmation, invitation acceptance, or interaction from the Victim.
No consent was requested.
The action was completed directly from the Attacker's account.
Act II โ The Forced Migration
I then logged in using the Victim's account to inspect what had happened.
The Victim had been automatically removed from its original team and moved into the Attacker's team.
More importantly, its previously existing workspace was now listed under the Attacker's team.
The Victim had lost control over its own workspace.
Attempting to edit or manage the original workspace resulted in the following message:
"You can't edit this workspace: Editing has been restricted by the admin
The Victim could no longer manage the workspace it had originally created.
This was no longer just an unauthorized team membership change. The application had effectively transferred control of an existing workspace to another user without the owner's consent.
Act III โ The Keys Changed Hands
The next step was to examine what the Attacker could do with the transferred workspace.
After logging back into the Attacker's account, I navigated to the team settings and located the Victim's original workspace.
The Attacker had administrative privileges over it, including the ability to delete it.
The account that had originally created the workspace could no longer manage it, while the account that had forcibly added its owner now had control over it.
The ownership and access boundaries had completely broken down.
Act IV โ The Final Blow
To confirm the full impact, I used the Attacker's account to delete the Victim's original workspace.
The deletion was successful.
The workspace and its associated data were permanently deleted, and the Victim could not recover them.
A single team management action had resulted in the complete destruction of another user's workspace.
The sequence was simple:
ATTACKER โ Force-adds VICTIM โ Workspace transferred โ Administrative control gained โ Workspace permanently deleted.
The Attacker never needed the Victim's password, permission, or approval.
The application itself made the transfer possible.
Act V โ Another Door, Another Impact
While investigating the same team addition mechanism, I discovered another consequence of the vulnerability.
New accounts were normally required to provide a credit card before starting a trial.
I tested whether the forced team addition could bypass this requirement.
The test was straightforward:
-
I opened an incognito window and registered a completely new account.
-
During registration, the application required a credit card to start the trial.
-
From the existing Attacker account, I added the new account's email address to the team using the same vulnerability.
- I logged in using the newly created account.
The result was unexpected.
The new account gained access to the platform without being prompted to provide a credit card.
I then removed the new account from the Attacker's team and tested again.
The application still did not require a credit card for that account to continue using the platform.
This demonstrated that the same vulnerability could also bypass the normal trial/payment requirement.
This additional impact was reported in the original report rather than submitted as a separate vulnerability, since it originated from the same team addition mechanism.
The Root Cause
The underlying problem was a failure in the application's team membership and workspace access control mechanisms.
The application treated adding an email address to a team as an immediate membership change, without requiring the recipient's consent.
This allowed the system to move an existing user into another team and transfer administrative control over their existing workspaces.
The expected behavior should have been different:
- Adding a user should create a pending invitation.
- The recipient should be able to accept or decline.
- Existing workspace ownership and access should not be transferred without proper authorization.
- Trial and payment requirements should not be bypassed through unauthorized team membership changes.
The application failed to maintain these boundaries.
โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ
The Impact
The vulnerability resulted in several security consequences:
1. Workspace Hijacking
An attacker could forcibly move another user's account into their team and gain administrative control over the victim's existing workspaces.
2. Permanent Data Destruction
The attacker could delete the transferred workspaces and permanently destroy their associated data, resulting in an unrecoverable loss for the victim.
3. Forced Account Migration
The victim could be removed from their original team without consent and lose the ability to manage their own workspaces.
4. Trial/Payment Requirement Bypass
The same mechanism allowed newly registered accounts to access the platform without completing the normal credit card requirement for starting a trial.
โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ
Published on a HackerOne VDP program and classified as Critical severity โ Resolved.
"An innocent man would've punched me by now."