Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
GitLab GitLab
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GitLab Enterprise Edition(EE)和GitLab Community Edition(CE)都是美国GitLab公司的产品。GitLab Enterprise Edition是一套内容管理系统。GitLab Community Edition是一种社区版 GitLab 。 GitLab CE/EE 18.1.5之前版本、18.2 18.2.5之前版本和18.3 18.3.1之前版本存在代码注入漏洞,该漏洞源于分支和标签处理不当,可能导致恶意代码分发。

CVSS 5.0 · Medium EPSS 0.13% · P2
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-5101

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Control of Generation of Code ('Code Injection') in GitLab
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
GitLab CE/EE 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GitLab Enterprise Edition(EE)和GitLab Community Edition(CE)都是美国GitLab公司的产品。GitLab Enterprise Edition是一套内容管理系统。GitLab Community Edition是一种社区版 GitLab 。 GitLab CE/EE 18.1.5之前版本、18.2 18.2.5之前版本和18.3 18.3.1之前版本存在代码注入漏洞,该漏洞源于分支和标签处理不当,可能导致恶意代码分发。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GitLab GitLab 0 ~ 18.1.5 cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2025-5101

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-5101

请登录查看更多情报信息。

Same Patch Batch · GitLab · 2025-08-27 · 4 CVEs total

CVE-2025-3601 6.5 MEDIUM Allocation of Resources Without Limits or Throttling in GitLab
CVE-2025-2246 5.8 MEDIUM Missing Authorization in GitLab
CVE-2025-4225 5.3 MEDIUM Allocation of Resources Without Limits or Throttling in GitLab

IV. Related Vulnerabilities

V. Comments for CVE-2025-5101

No comments yet


Leave a comment