Skip to content

CVE-2025-5101 Improper Control of Generation of Code ('Code Injection') in GitLab

MediumCVSS 5.0 EPSS 0.14%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
gitlab < 18.1.5; = 18.3.0; >= 18.2, < 18.2.5; >= 18.2.0, < 18.2.5 +1 more 18.1.5, 18.2.5, 18.3.1 Fixed

Affected products

ProductAffected versionsFixed in
gitlab < 18.1.5 18.1.5
gitlab >= 18.2, < 18.2.5 18.2.5
gitlab >= 18.3, < 18.3.1 18.3.1
gitlab >= 18.2.0, < 18.2.5 18.2.5
gitlab = 18.3.0 No fix listed

References