CVE-2022-2884GitLab OS Command Injection
Improper Neutralization of Special Elements used in an OS Command in GitLab
Published Oct 17, 2022 · Updated Oct 28, 2026 · Also known as BIT-gitlab-2022-2884, UBUNTU-CVE-2022-2884
Key Facts
Patch immediately- CVE-2022-2884 is a critical-severity vulnerability (CVSS 9.9 v3.1) affecting GitLab.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 76% probability of exploitation in the next 30 days.
- Fixed versions are available, including GitLab 15.1.5, GitLab 15.10.8+ds1-2, GitLab 15.2.3.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
76%
Higher than 99.5% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
55/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-2884
- advisoryhttps://ubuntu.com/security/CVE-2022-2884
- advisoryhttps://about.gitlab.com/releases/2022/08/22/critical-security-release-gitlab-15-3-1-released/
- advisoryhttps://gitlab.com/gitlab-org/gitlab/-/issues/371098
- advisoryhttps://hackerone.com/reports/1672388
Description
A vulnerability in GitLab CE/EE affecting all versions from 11.3.4 prior to 15.1.5, 15.2 to 15.2.3, 15.3 to 15.3 to 15.3.1 allows an an authenticated user to achieve remote code execution via the Import from GitHub API endpoint
Affected Products
6 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GitLabGitlab | >= 11.3.4, >=11.3.4, <15.1.5 | 15.1.5 |
Patched Releases
GitLab
15.1.5, 15.10.8+ds1-2, 15.2.3, 15.3.1
Timeline
Publicly disclosed
Oct 17, 2022
Last updated
Oct 28, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorycve.org · CVERecord
- advisoryubuntu.com · CVE-2022-2884
- advisoryabout.gitlab.com · critical-security-release-gitlab-15-3-1-released
- advisorygitlab.com · 371098
- advisoryhackerone.com · 1672388
FAQ
Common Questions.
A vulnerability in GitLab CE/EE affecting all versions from 11.3.4 prior to 15.1.5, 15.2 to 15.2.3, 15.3 to 15.3 to 15.3.1 allows an an authenticated user to achieve remote code execution via the Import from GitHub API endpoint
Affected: GitLab versions >= 11.3.4, >=11.3.4, <15.1.5. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including GitLab 15.1.5, GitLab 15.10.8+ds1-2, GitLab 15.2.3.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-2884 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo