Skip to main content

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

0
Medium
Published: 05/29/2024 (05/29/2024, 07:19:02 UTC)
Source: GCVE Database
Product: gitlab

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

Bitnamimore threats →ghsa
gitlab
pkg:bitnami/gitlab
Affected versions
>=16.10.0 <16.10.6>=16.11.0 <16.11.3>=17.0.0 <17.0.1

Run 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

AILast updated: 09/10/2026, 22:33:19 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses