Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-5101

Improper Control of Generation of Code ('Code Injection') in GitLab

Overview

Published
27 Aug 2025
Modified
17 Jun 2026
Medium CVE
1 Registry packages
6 OS packages
1 Linux distributions
Yes Fix available

Description

An issue has been discovered in GitLab CE/EE affecting all versions before 18.1.5, 18.2 before 18.2.5, and 18.3 before 18.3.1 that under certain conditions could have allowed an authenticated attacker to distribute malicious code that appears harmless in the web interface by taking advantage of ambiguity between branches and tags during repository imports.

Source: OX vulnerability database

Severity

5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
High
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N

Weakness: CWE-94

Affected packages · 1

Packages affected by CVE-2025-5101
EcosystemPackageVulnerableFixed in
Bitnami gitlab <18.1.5>=18.2.0, <18.2.5>=18.3.0, <18.3.1 18.1.518.2.518.3.1

Open a package to see all its vulnerabilities.

Operating systems · 3 fixes

minimos 1 release · 3 packages

fixed 3
gitlab-cng-18-1 gitlab-cng-18-2 gitlab-cng-18-3
minimos fixes for CVE-2025-5101
ReleasePackageFixed in
gitlab-cng-18-1 +1 18.1.5-r0
gitlab-cng-18-2 +1 18.2.5-r0
gitlab-cng-18-3 +1 18.3.1-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.