Skip to content
High

CVE-2022-2185GitLab OS Command Injection

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…

Published Jul 1, 2022 · Updated Oct 30, 2026 · Also known as BIT-gitlab-2022-2185

Key Facts

Patch in the next maintenance window
  • 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 21% 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 in the next maintenance window, because of its high severity, although no exploitation is known.

Scores

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)

21%

Higher than 98.0% of all scored CVEs

Exploit maturity

None known

ATLAS score

21/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

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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
ProductAffected versionsFixed in
GitLabGitlab15.1.0, >= 14.0.0, >=14.0, <14.10.514.10.5

Patched Releases

GitLab

14.10.5, 15.0.4, 15.1.1, 15.10.8+ds1-2

Timeline

  1. Publicly disclosed

    Jul 1, 2022

  2. Last updated

    Oct 30, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

FAQ

Common Questions.

Is CVE-2022-2185 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

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.