user with guest role is able to view the subscription details of a group
A user with the guest role could access an API endpoint that returned a group's subscription details, including billable member count, seats in use, maximum seats used, and end date. The documentation states only owners should see this information.
GitLab
Originally disclosed on GitLab
- Fixed in 7 months
- Disclosed after 7 months
⚠️ Please read the process on how to fix security issues before starting to work on the issue. Vulnerabilities must be fixed in a security mirror.
HackerOne report #2984457 by iamgk808 on 2025-02-09, assigned to @cmaxim:
Report | Attachments | How To Reproduce
Report
Summary
According to the documentation, only users with the owner role can see the subscription details

Steps to reproduce
victim steps
- Create a public group called
group-1. - Go to
group-1billing and apply the GitLab Ultimate trial to it and below you can see the subscription details

- Go to the
Group Members sectionand add a new user calledattacker-1with aguestrole

Attacker-1 Steps
- Log in as
attacker-1 - open this URL
https://gitlab.com/api/v4/namespaces/99955773where99955773is the group id

- it discloses details like
billable_members_count,seats_in_use,max_seats_used,end_date(means the subscription end date)

Impact
it discloses details like billable_members_count, seats_in_use, max_seats_used, end_date (means the subscription end date)
Examples
https://gitlab.com/groups/group-2025/-/billings
What is the current bug behavior?
user with the guest role is able to view the subscription details of a group
What is the expected correct behavior?
only users with the owner role can see the subscription details
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Impact
it discloses details like billable_members_count, seats_in_use, max_seats_used, end_date (means the subscription end date)
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
How To Reproduce
Please add reproducibility information to this section:
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 API endpoint for namespaces did not properly check the user's role before returning subscription details.
Impact
A guest user could view sensitive subscription details of a group, including billable member count, seats in use, maximum seats used, and end date.
What the attacker needed
A GitLab account; membership in the group with guest role; knowledge of the group ID
How it was found
- Create a public group and apply a GitLab Ultimate trial to it.
- Add a new user to the group with the guest role.
- Log in as the guest user.
- Request the API endpoint for the group's namespace using the group ID.
- Observe that the response includes subscription details such as billable member count, seats in use, maximum seats used, and end date.
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 have different roles like owner, maintainer, and guest. The guest role is meant to have very limited access. This report shows that a guest could see private billing information about the group's paid subscription, which they should not be able to see.
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.