CVE-2022-2884
CriticalPublic exploitImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in GitLab
Published Oct 17, 2022 · Updated Oct 13, 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.
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
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2022-2884 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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 13, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- advisoryhttps://about.gitlab.com/releases/2022/08/22/critical-security-release-gitlab-15-3-1-released/
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2884.json
- advisoryhttps://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2884.json
- advisoryhttps://gitlab.com/gitlab-org/gitlab/-/issues/371098
- advisoryhttps://hackerone.com/reports/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 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo