CVE-2024-7102 Execution with Unnecessary Privileges in GitLab

Critical 9.6 Published Updated

An attacker can trigger CI/CD pipelines as another user, potentially executing code with elevated privileges in GitLab.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-7102?

CVE-2024-7102 is a critical vulnerability in Gitlab Gitlab, published on 13 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in GitLab CE/EE affecting all versions starting from 16.4 prior to 17.5.0 which allows an attacker to trigger a pipeline as another user under certain circumstances.

Weakness: CWE-250

Which versions are affected by CVE-2024-7102?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 16.4.017.5.0

Products include Gitlab Gitlab.

How do I fix CVE-2024-7102?

Upgrade gitlab to 17.5.0 or later.

Is CVE-2024-7102 being exploited?

There is no known exploitation of CVE-2024-7102 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2024-7102, GHSA-j45p-g8pv-jg87, UBUNTU-CVE-2024-7102.

Is CVE-2024-7102 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free