GitLab 17.11 < 17.11.4 / 18.0 < 18.0.2 (CVE-2025-5121)

high Nessus Plugin ID 240212

Synopsis

The version of GitLab installed on the remote host is affected by a vulnerability.

Description

The version of GitLab installed on the remote host is affected by a vulnerability, as follows:

- GitLab has remediated an issue that, under certain conditions, could have allowed a successful attacker with authenticated access to a GitLab instance with a GitLab Ultimate license applied (paid customer or trial) to inject a malicious CI/CD job into all future CI/CD pipelines of any project. (CVE-2025-5121)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to GitLab version 17.11.4, 18.0.2 or later.

See Also

http://www.nessus.org/u?996d1380

https://gitlab.com/gitlab-org/gitlab/-/issues/545429

https://hackerone.com/reports/3153908

Plugin Details

Severity: High

ID: 240212

File Name: gitlab_cve-2025-5121.nasl

Version: 1.1

Type: combined

Agent: unix

Family: CGI abuses

Published: 6/20/2025

Updated: 6/20/2025

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2025-5121

CVSS v3

Risk Factor: High

Base Score: 8.5

Temporal Score: 7.4

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:gitlab:gitlab

Required KB Items: installed_sw/GitLab

Exploit Ease: No known exploits are available

Patch Publication Date: 6/20/2025

Vulnerability Publication Date: 6/12/2025

Reference Information

CVE: CVE-2025-5121