Authorization Bypass Through User-Controlled Key in GitLab (CVE-2024-5258)
GitLab versions 16.10 before 16.10.6, 16.11 before 16.11.3, and 17.0 before 17.0.1 contain an authorization vulnerability. An authenticated attacker could exploit a crafted naming convention to bypass pipeline authorization logic. This issue allows unauthorized pipeline actions by manipulating user-controlled keys. The vulnerability has been patched in the specified fixed versions.
AI Analysis
Technical Summary
CVE-2024-5258 is an authorization bypass vulnerability in GitLab affecting versions >=16.10.0 <16.10.6, >=16.11.0 <16.11.3, and >=17.0.0 <17.0.1. The flaw allows an authenticated attacker to bypass pipeline authorization by using a crafted naming convention that manipulates user-controlled keys. This could lead to unauthorized pipeline operations within GitLab. The vulnerability is fixed in versions 16.10.6, 16.11.3, and 17.0.1.
Potential Impact
An authenticated attacker can bypass pipeline authorization controls, potentially allowing unauthorized execution or manipulation of CI/CD pipelines. This could lead to unauthorized code execution or modification within the pipeline context. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch is available and should be applied by upgrading GitLab to versions 16.10.6, 16.11.3, or 17.0.1 or later. Applying these official fixes will remediate the authorization bypass vulnerability.
Authorization Bypass Through User-Controlled Key in GitLab (CVE-2024-5258)
Description
GitLab versions 16.10 before 16.10.6, 16.11 before 16.11.3, and 17.0 before 17.0.1 contain an authorization vulnerability. An authenticated attacker could exploit a crafted naming convention to bypass pipeline authorization logic. This issue allows unauthorized pipeline actions by manipulating user-controlled keys. The vulnerability has been patched in the specified fixed versions.
Affected software
pkg:bitnami/gitlabRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-5258 is an authorization bypass vulnerability in GitLab affecting versions >=16.10.0 <16.10.6, >=16.11.0 <16.11.3, and >=17.0.0 <17.0.1. The flaw allows an authenticated attacker to bypass pipeline authorization by using a crafted naming convention that manipulates user-controlled keys. This could lead to unauthorized pipeline operations within GitLab. The vulnerability is fixed in versions 16.10.6, 16.11.3, and 17.0.1.
Potential Impact
An authenticated attacker can bypass pipeline authorization controls, potentially allowing unauthorized execution or manipulation of CI/CD pipelines. This could lead to unauthorized code execution or modification within the pipeline context. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch is available and should be applied by upgrading GitLab to versions 16.10.6, 16.11.3, or 17.0.1 or later. Applying these official fixes will remediate the authorization bypass vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-gitlab-2024-5258
- Osv Schema Version
- 1.5.0
- Aliases
- ["CVE-2024-5258"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Medium
Threat ID: 6aa329a391cc7f3848d1c534
Added to database: 09/10/2026, 22:05:23 UTC
Last enriched: 09/10/2026, 22:33:19 UTC
Last updated: 09/11/2026, 03:02:37 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.