patchminder
Proof of concept · Exploit-DB CVE-2022-2884

Remote code executionin GitLab.

Published 17 Oct 2022 · Updated 14 May 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Critical 9.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 76.2% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 15.1.5, 15.2.3, 15.3.1
In plain words

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

What to do now
  • Upgrade GitLab to 15.1.5, 15.2.3, 15.3.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
GitLab
11.3.4 to before 15.1.5
15.1.5
CVE record
GitLab
15.2 to before 15.2.3
15.2.3
CVE record
GitLab
15.3 to before 15.3.1
15.3.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 18 Aug 2022
    CVE ID reserved by GitLab.
  2. 17 Oct 2022
    Published in the CVE List.
  3. 22 Dec 2022
    First public proof of concept on GitHub.
  4. 14 May 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
1 repository
Exploit-DBEDB-ID 51181web application exploit for ruby, published 1 Apr 2023, verified by Exploit-DB
GitHubno warning signs foundm3ssap0/gitlab_rce_cve-2022-288425 stars · created 22 Dec 2022Exploits GitLab authenticated RCE vulnerability known as CVE-2022-2884.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other GitLab vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-2884: Remote code execution in GitLab. https://patchminder.com/cve/cve-2022-2884/ (accessed 5 December 2026).