CVE-2024-8116: Incorrect Authorization in GitLab

Published Dec 11, 2024
·
Updated

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 unauthorised user can retrieve branch names. This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, 5.3). It is now mitigated in the latest release and is assigned CVE-2024-8116.

Other sources

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.

MITRE

Affected Software

8 affected componentsFixes available
GitLab GitLab CE/EE>16.9, <17.4.6, >17.5, <17.5.4, >17.6, <17.6.2
GitLab GitLab>=16.9.0<17.4.6
GitLab GitLab>=16.9.0<17.4.6
GitLab GitLab>=17.5.0<17.5.4
GitLab GitLab>=17.5.0<17.5.4
GitLab GitLab>=17.6.0<17.6.2
GitLab GitLab>=17.6.0<17.6.2
GitLab GitLab>=16.9<17.4.6, >=17.5<17.5.4, >=17.6<17.6.2
17.4.617.5.417.6.2

Remediation

Information

Upgrade to versions 17.6.2, 17.5.4, 17.4.6 or above.

Event History

Dec 16, 2024
CVE Published
via MITRE·04:31 AM
Data Sourced
via MITRE·04:31 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-8116?

CVE-2024-8116 has been classified with a high severity level due to the potential for unauthorized data access.

2

How do I fix CVE-2024-8116?

To mitigate CVE-2024-8116, update GitLab CE/EE to at least version 17.4.6, 17.5.4, or 17.6.2.

3

Which versions of GitLab are affected by CVE-2024-8116?

CVE-2024-8116 affects GitLab CE/EE versions from 16.9 to below 17.4.6, from 17.5 to below 17.5.4, and from 17.6 to below 17.6.2.

4

What type of vulnerability is CVE-2024-8116?

CVE-2024-8116 is an unauthorized access vulnerability allowed through a specific GraphQL query.

5

Who is impacted by CVE-2024-8116?

Unauthorized users can exploit CVE-2024-8116 to retrieve branch names, impacting the security of GitLab repositories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203