{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "14.0"
              },
              {
                "fixed": "14.10.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "0034acfc891b0cbc2ecc4aa4c5ca0d1f89e3c32f"
            },
            {
              "fixed": "af6735ad95ff7a4578c8548d37ce9e8247385d5e"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "15.0"
              },
              {
                "fixed": "15.0.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "3b397c1753233301037d0ca3caae23ce116505d3"
            },
            {
              "fixed": "81f47cb467e3387cea11b909ea6b977e28b3b4d2"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "15.1"
              },
              {
                "fixed": "15.1.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "31c24d2d8643ee22211ef544a4538c4420e96dc9"
            },
            {
              "fixed": "61c8658b23e2cc1116acb740418d99c6d227e13f"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2185.json"
  },
  "details": "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.",
  "id": "CVE-2022-2185",
  "modified": "2026-04-01T23:08:52.298972329Z",
  "published": "2022-07-01T15:50:03Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2185.json"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/1609965"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2185.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2185"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/366088"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}