CVE-2023-6051
CVE-2023-6051 — Improper Control of Generation of Code ('Code Injection') in GitLab
An issue has been discovered in GitLab CE/EE affecting all versions before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when source code or installation packages are pulled from a specific tag.
Published Updated Sources: cvelistV5, GitLab
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.7
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.7 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-94
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /EE.
References
2 on the record
- gitlab.com/gitlab-org/gitlab/-/issues/431345
issue-tracking
- hackerone.com/reports/2237165
technical-description, exploit, permissions-required
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-97229 Integer Overflow or Wraparound in GitLabCVSS 10.0 · CISA KEV
- CVE-2026-85706 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLabCVSS 10.0 · CISA KEV
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2023-7028 Weak Password Recovery Mechanism for Forgotten Password in GitLabCVSS 9.8 · CISA KEV
- CVE-2021-22175 GitLab Server-Side Request Forgery (SSRF) VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF) VulnerabilityCVSS 7.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.