Skip to content
Access control Disclosed report Beginner

Members can enumerate and delete organization invites

The backend allowed users with the Member role to delete organization invites, even though the frontend hid this option. A Member could therefore list pending invites and delete invites created by Admins or Owners, causing information disclosure and disruption of onboarding.

PostHog Vulnerability Disclosure Engagement

Originally disclosed on Bugcrowd

  • Accepted in 5 days
  • Fixed in 6 days
  • Disclosed after 5 days

Summary by PostHog Vulnerability Disclosure Engagement

Members always have the ability to list invites. Our backend additionally allowed them to delete invites, but our frontend prevented this. After discussing internally, we decided to honor the frontend logic and have adjusted our backend to disallow Members from deleting invites.

https://github.com/PostHog/posthog/pull/38256

Summary by x3ro

A user with the Member role can enumerate and delete organization invites via the invites API. This allows Members to: View pending invites and inviter details. Delete invites created by Admins/Owners. This is a Broken Access Control issue that can lead to information disclosure and disruption of organization onboarding.

The original report as published on Bugcrowd, by PostHog Vulnerability Disclosure Engagement. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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 invites API endpoint did not enforce the same role check that the frontend used to hide the delete action.

Impact

A Member could view pending invites and inviter details and delete invites created by Admins or Owners, which could disrupt organization onboarding.

What the attacker needed

A Member role in an organization

The fix

The backend was adjusted to disallow Members from deleting invites, matching the frontend logic.

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.

In many apps, different users have different permissions, such as Member versus Admin. The server is supposed to check those permissions on every request, not just rely on the website hiding buttons. Here the server let a lower-privileged Member perform an action that only Admins or Owners should do.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from PostHog Vulnerability Disclosure Engagement

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.