Facebook Vulnerability: Unremovable Co-Host in facebook group events
A co-host of a Facebook group event could deactivate their account, making them invisible in the co-host list so that neither the event creator nor group admins could remove them. The attacker could then reactivate at any time to make malicious changes to the event and deactivate again to avoid removal.
Published on medium.com
There are two ways to trick the admins of the event at the same time - Blocking and Deactivating
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
Facebook groups let members create events that belong to the group. When a non-admin member creates an event inside a group, the group's admins and moderators automatically become admins of that event as well. That means every group event has two kinds of administrator: the member who created it and the group's management team.
Events also support co-hosts. An event admin can invite any member of the group to be a co-host, and the invited member accepts by clicking "going". Co-hosts are meant to be manageable: an admin should be able to remove them. The report describes a logic flaw that lets a co-host become effectively unremovable.
Setup
The setup described in the report uses three Facebook users and one Facebook group:
| User | Role |
|---|---|
| A | Group member, event creator |
| B | Group admin |
| C | Group member, the attacker |
No special tooling is described. The precondition is simply that the attacker is a member of the group and can be invited as a co-host to an event in it.
Finding it
The observation is about the interaction between two ordinary features: co-host management and account deactivation. Because every group event has both the event creator and the group management as admins, removing a co-host normally requires one of those admins to act. The researcher noticed that a deactivated account disappears from the co-host list, so the admins no longer see the account they would need to remove. The account can be reactivated at any time, which brings the co-host back with the ability to make changes to the event.
The report describes two ways to get the admins out of the picture at the same time, blocking and deactivating:
- Blocking: the attacker blocks every current admin of the event individually. The admins can respond by adding new admins and kicking the attacker out, because the attacker has only blocked the current admins and cannot guess the newly added "surprise admins".
- Deactivating: the attacker deactivates the account when it is not in use, so the name disappears from the co-host list, and reactivates it whenever the attack is to be performed. Adding surprise admins does not resolve this, because the attacker's account is deactivated and hidden. The researcher calls this the preferred attack.
Exploitation
Step 1: create the event
'A' creates an event in the group. As a result of the automatic rule, 'A' (the creator) and 'B' (the group admin) are both admins of the event.
Step 2: invite the attacker as co-host
'A' adds 'C' as a co-host of the event.
Step 3: accept the invitation
'C' accepts the co-host invite by clicking "going". 'C' is now a co-host with the ability to make changes to the event.
Step 4: deactivate the account
'C' deactivates his account. The effect is that neither 'A' nor 'B' can see 'C' in the co-host list any more.

With the account hidden, the admins have no visible co-host to remove. The attacker can reactivate the account at any time, make malicious changes to the event, and deactivate again, so that nobody can remove him in between.
Root cause
The report shows that a deactivated account is no longer visible in the co-host list, so neither the event creator nor the group admin can see the co-host to remove him. It does not describe the underlying implementation. The report does not describe the server-side implementation, so the exact code path is not stated.
Impact
A co-host can deactivate his account so that he cannot be removed as co-host by the event creator or the group admin. He can then reactivate the account at any time, make malicious changes to the event, and deactivate again, so that he cannot be removed by anyone.
Fix
The timeline lists the fix on 04 June and the bounty award on 19 June.
Variants to test
- Other role lists that hide deactivated accounts: check whether deactivated or suspended accounts disappear from member, moderator, collaborator or guest lists on other products while retaining their privileges. A positive result is that the account is invisible to the managers but still able to act.
- Blocking as a hiding mechanism: test whether blocking the current managers removes the attacker from a management list while leaving the underlying role intact. A positive result is that the role persists and the managers cannot remove it without knowing the account.
- Reactivation after removal attempts: after a manager tries to remove the hidden account, reactivate it and check whether the role is still present. A positive result is that the removal did not take effect.
- Automatic role inheritance: look for features where creating an object inside a container automatically grants management rights to the container's managers, then test whether a lower-privileged participant can become unremovable through a state change such as deactivation.
Timeline
| Date | Event |
|---|---|
| 09 April | Report sent |
| 13 April | Reproduced by Dinesh |
| 15 April | Triaged by Andreas |
| 04 June | Fixed by Facebook |
| 19 June | Bounty awarded ($500) |
What happened, in plain words
Facebook groups let members create events that belong to the group. When a non-admin member creates an event inside a group, the group's admins and moderators automatically become admins of that event as well. That means every group event has two kinds of administrator: the member who created it and the group's management team.
Events also support co-hosts. An event admin can invite any member of the group to be a co-host, and the invited member accepts by clicking "going". Co-hosts are meant to be manageable: an admin should be able to remove them. The report describes a logic flaw that lets a co-host become effectively unremovable.
Setup
The setup described in the report uses three Facebook users and one Facebook group:
| User | Role |
|---|---|
| A | Group member, event creator |
| B | Group admin |
| C | Group member, the attacker |
No special tooling is described. The precondition is simply that the attacker is a member of the group and can be invited as a co-host to an event in it.
Finding it
The observation is about the interaction between two ordinary features: co-host management and account deactivation. Because every group event has both the event creator and the group management as admins, removing a co-host normally requires one of those admins to act. The researcher noticed that a deactivated account disappears from the co-host list, so the admins no longer see the account they would need to remove. The account can be reactivated at any time, which brings the co-host back with the ability to make changes to the event.
The report describes two ways to get the admins out of the picture at the same time, blocking and deactivating:
- Blocking: the attacker blocks every current admin of the event individually. The admins can respond by adding new admins and kicking the attacker out, because the attacker has only blocked the current admins and cannot guess the newly added "surprise admins".
- Deactivating: the attacker deactivates the account when it is not in use, so the name disappears from the co-host list, and reactivates it whenever the attack is to be performed. Adding surprise admins does not resolve this, because the attacker's account is deactivated and hidden. The researcher calls this the preferred attack.
Exploitation
Step 1: create the event
'A' creates an event in the group. As a result of the automatic rule, 'A' (the creator) and 'B' (the group admin) are both admins of the event.
Step 2: invite the attacker as co-host
'A' adds 'C' as a co-host of the event.
Step 3: accept the invitation
'C' accepts the co-host invite by clicking "going". 'C' is now a co-host with the ability to make changes to the event.
Step 4: deactivate the account
'C' deactivates his account. The effect is that neither 'A' nor 'B' can see 'C' in the co-host list any more.

With the account hidden, the admins have no visible co-host to remove. The attacker can reactivate the account at any time, make malicious changes to the event, and deactivate again, so that nobody can remove him in between.
Root cause
The report shows that a deactivated account is no longer visible in the co-host list, so neither the event creator nor the group admin can see the co-host to remove him. It does not describe the underlying implementation. The report does not describe the server-side implementation, so the exact code path is not stated.
Impact
A co-host can deactivate his account so that he cannot be removed as co-host by the event creator or the group admin. He can then reactivate the account at any time, make malicious changes to the event, and deactivate again, so that he cannot be removed by anyone.
Fix
The timeline lists the fix on 04 June and the bounty award on 19 June.
Variants to test
- Other role lists that hide deactivated accounts: check whether deactivated or suspended accounts disappear from member, moderator, collaborator or guest lists on other products while retaining their privileges. A positive result is that the account is invisible to the managers but still able to act.
- Blocking as a hiding mechanism: test whether blocking the current managers removes the attacker from a management list while leaving the underlying role intact. A positive result is that the role persists and the managers cannot remove it without knowing the account.
- Reactivation after removal attempts: after a manager tries to remove the hidden account, reactivate it and check whether the role is still present. A positive result is that the removal did not take effect.
- Automatic role inheritance: look for features where creating an object inside a container automatically grants management rights to the container's managers, then test whether a lower-privileged participant can become unremovable through a state change such as deactivation.
Timeline
| Date | Event |
|---|---|
| 09 April | Report sent |
| 13 April | Reproduced by Dinesh |
| 15 April | Triaged by Andreas |
| 04 June | Fixed by Facebook |
| 19 June | Bounty awarded ($500) |
Glossary
- API: a set of rules that lets one piece of software talk to another; think of it as a waiter taking your order to the kitchen and bringing back the food.
- Cookie: a small piece of data a website stores in your browser so it can remember who you are between page loads; like a coat-check ticket.
- Token: a string that proves you are allowed to do something, often used instead of a password for a single session; like a temporary wristband at an event.
- Logic flaw: a bug where the code does what it was written to do, but the rules themselves are wrong, so the system can be misused without breaking anything technical.
- Co-host: a person given some management rights over an event, such as editing details, without being the main organiser.
- Deactivation: temporarily disabling your own account so it is hidden from others but can be turned back on later.
- Blocking: telling a platform you do not want a specific person to interact with you, which usually hides your content from them.
- Admin: a user with permission to manage a group or event, including adding or removing other people.
- Moderator: a user with limited management rights, often able to review content but not change core settings.
- Event: a scheduled happening created inside a group, with its own page, hosts and guest list.
- Group: a space on Facebook where people with a shared interest gather, with its own members and managers.
- Reproduced: confirmed that the described steps actually cause the described behaviour.
- Triaged: reviewed by the security team and accepted as a real, valid issue worth fixing.
- Bounty: a payment made by a company to someone who reports a security problem responsibly.
- Surprise admins: newly added administrators whose identity the attacker does not know, used to work around an attacker who has blocked the current admins.