HexBrain

Omise · Report #3303136

Pending invites remain valid even after the inviter is removed.

Validstatus
highseverity
77upvotes
8 Oct 2025disclosed

How it was found

Summary:

When an admin (A) invites another user (B) with admin privileges, removing the inviter (A) does not invalidate the pending invite for B. Furthermore, if B has already accepted the invite, B remains in the team with admin privileges. This could allow unauthorized admin access even after the original inviter is removed.

Steps to Reproduce

  1. Invite a user (A) to the team with admin privileges.
  2. A accepts the invitation and becomes an admin.
  3. A invites another user (B) to the team with admin privileges.
  4. Remove user A from the team.
  5. Observe:
    • If B has not accepted the invite, the invite remains valid.
    • If B has already accepted the invite, B remains in the team with admin privileges.

# Expected Behavior

  • Pending invites created by a removed admin should become invalid.
  • Members already added by the removed admin should either be reviewed or removed automatically, depending on platform policy.

#Actual Behavior

  • Pending invites remain valid and can be accepted.
  • Accepted members remain in the team with admin privileges.

POC

{F4688873}

Impact

  • Unauthorized users may gain admin access after the inviter has been removed.
  • Violation of least privilege principles and potential for privilege escalation.
  • Security audit and compliance issues, as removed admins cannot fully revoke their influence.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original