Private group EPIC info visible for former sub group owners
A former sub-group owner could still see the titles of ancestor EPICs from a private parent group after transferring the sub-group to their own group. This allowed continued access to private EPIC information even after losing access to the parent group.
GitLab
Originally disclosed on GitLab
- Fixed in 7 months
- Disclosed after 7 months
HackerOne report #666892 by ashish_r_padelkar on 2019-08-03, assigned to jmatos_bgtvf:
Dev issue: https://dev.gitlab.org/gitlab/gitlab-ee/issues/396 Security issue: https://gitlab.com/gitlab-org/security/gitlab/issues/30
Summary
Hello,
Sub group EPICs can be added as child EPIC to parent group EPIC. When a sub group EPIC contains the ancestor EPICs, they are visible on right side menu.
The problem with this is, This section is still available when sub group owner moves the sub group to their own private group.
Steps to reproduce
- Create a private group named
MainGroupwith onlyUser1as owner and no other members - Create a sub group named
SubGroupinside it with additional ownerUser2 - Create EPIC in both
MainGroupandSubGrouptoo - Put
SubGroupEPIC as Child EPIC toMainGroupEPIC. - As
User2is owner ofSubGroup, he can transfer this group to his own group. So,User2transfers this group to his own group. - By doing this,
User2doesnt have any access to Private groupMainGroupofUser1 - However, when
User2visits the EPIC of theSubGroup(in newly moved group), he still see theAncestorEPIC fromUser1PrivateMainGroup.

- So if
User1changes the names of EPIC inMainGroup. ,User2Still able to see the new names of such EPICs. AlsoUser1can not do anything about this as he cant see EPIC added fromSubGroupin hisMainGroupEPIC.
What is the current bug behavior?
New EPIC names visible to former owner of sub group if group is transferred by owner
What is the expected correct behavior?
EPIC info should not be available in such scenarios
Output of checks
This bug happens on GitLab.com and might be on omnibus installations too!
Regards,
Ashish
Impact
New EPIC titles are available to former owners of sub group if they themselves transfers the group
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
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 application did not properly revoke access to ancestor EPIC data when a sub-group was transferred, leaving a reference to the original parent group's EPICs.
Impact
A former sub-group owner could continue to see the titles of EPICs from a private parent group, and would see any future name changes, even though they no longer had access to that parent group.
What the attacker needed
A GitLab account; ability to create groups and EPICs; victim has a private group with EPICs
How it was found
- Create a private group with only User1 as owner and no other members.
- Create a sub-group inside it with User2 as an additional owner.
- Create an EPIC in both the main group and the sub-group.
- Link the sub-group EPIC as a child to the main group EPIC.
- As User2, transfer the sub-group to their own group.
- As User2, visit the sub-group EPIC in the new group and observe the ancestor EPIC from the private main group.
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 GitLab, groups can contain sub-groups, and EPICs (like large tasks) can be linked between them. When a sub-group is moved to a new parent, the old parent's EPIC titles should no longer be visible to the sub-group's owner, but they were. This meant someone could keep seeing private EPIC names from a group they no longer belonged to.
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.