CVE-2022-2185
HighA critical issue has been discovered in GitLab affecting all versions starting from 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 where an authenticated user authorized to import projects could import a maliciously crafted project leading to remote code…
Published Jul 1, 2022 · Updated Sep 11, 2026 · Also known as BIT-gitlab-2022-2185
Key Facts
Patch immediately- CVE-2022-2185 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting GitLab.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 77% probability of exploitation in the next 30 days.
- Fixed versions are available, including GitLab 14.10.5, GitLab 15.0.4, GitLab 15.1.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
77%
Higher than 99.5% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2022-2185 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
A critical issue has been discovered in GitLab affecting all versions starting from 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 where an authenticated user authorized to import projects could import a maliciously crafted project leading to remote code execution.
Affected Products
7 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GitLabGitlab | 15.1.0, >= 14.0.0, >= >=14.0, <14.10.5 | 14.10.5 |
Patched Releases
GitLab
14.10.5, 15.0.4, 15.1.1, 15.10.8+ds1-2
Timeline
Publicly disclosed
Jul 1, 2022
Last updated
Sep 11, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2185.json
- advisoryhttps://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2185.json
- advisoryhttps://hackerone.com/reports/1609965
- articlehttps://nvd.nist.gov/vuln/detail/CVE-2022-2185
- otherhttps://gitlab.com/gitlab-org/gitlab/-/issues/366088
FAQ
Common Questions.
A critical issue has been discovered in GitLab affecting all versions starting from 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 where an authenticated user authorized to import projects could import a maliciously crafted project leading to remote code execution.
Affected: GitLab versions 15.1.0, >= 14.0.0, >= >=14.0, <14.10.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.
No public exploit code is known.
Fixed versions are available, including GitLab 14.10.5, GitLab 15.0.4, GitLab 15.1.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-2185 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