Description
An issue has been discovered in GitLab CE/EE affecting all versions from 16.9 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. By using a specific GraphQL query, under specific conditions an unauthorized user can retrieve branch names.
Problem types
CWE-863: Incorrect Authorization
Product status
16.9 (semver) before 17.4.6
17.5 (semver) before 17.5.4
17.6 (semver) before 17.6.2
Credits
Thanks [shells3c](https://hackerone.com/shells3c) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/480509 (GitLab Issue #480509)
hackerone.com/reports/2666216 (HackerOne Bug Bounty Report #2666216)
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.