CVE-2024-5258: Authorization Bypass Through User-Controlled Key in GitLab

Published May 22, 2024
·
Updated

An authorization vulnerability exists within GitLab from versions 16.10 before 16.10.6, 16.11 before 16.11.3, and 17.0 before 17.0.1 where an authenticated attacker could utilize a crafted naming convention to bypass pipeline authorization logic.

Other sources

An authorization vulnerability exists within GitLab from versions 16.10 up to 16.10.6, 16.11 up to 16.11.3, and 17.0 up to 17.0.1 where an authenticated attacker could utilize a crafted naming convention to bypass pipeline authorization logic. This is a medium severity issue (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N, 4.4). It is now mitigated in the latest release and is assigned CVE-2024-5258.

GitLab

Affected Software

6 affected components
GitLab GitLab>=16.10.0<16.10.6
GitLab GitLab>=16.10.0<16.10.6
GitLab GitLab>=16.11.0<16.11.3
GitLab GitLab>=16.11.0<16.11.3
GitLab GitLab=17.0.0
GitLab GitLab=17.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 16.10.6
  2. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 16.11.3
  3. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 17.0.1

Event History

May 23, 2024
CVE Published
via MITRE·11:02 AM
Data Sourced
via MITRE·11:02 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverity

Peer vulnerabilities

Found alongside the following vulnerabilities.

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-5258?

CVE-2024-5258 is classified as a medium-severity authorization vulnerability.

2

How do I fix CVE-2024-5258?

To fix CVE-2024-5258, update GitLab to version 16.10.6, 16.11.3, or 17.0.1 or later.

3

What specific versions are affected by CVE-2024-5258?

CVE-2024-5258 affects GitLab versions 16.10.0 to 16.10.5, 16.11.0 to 16.11.2, and 17.0.0.

4

What type of attack does CVE-2024-5258 enable?

CVE-2024-5258 enables authenticated attackers to bypass pipeline authorization logic through a crafted naming convention.

5

Who is impacted by CVE-2024-5258?

Users of GitLab versions 16.10, 16.11, and 17.0 below the specified patched versions are impacted by CVE-2024-5258.

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