patchminder
Weaponized · Metasploit CVE-2022-2992

Remote code executionin GitLab.

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

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

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. 86.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 15.1.6, 15.2.4, 15.3.2
In plain words

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows an authenticated user to achieve remote code execution via the Import from GitHub API endpoint.

What to do now
  • Upgrade GitLab to 15.1.6, 15.2.4, 15.3.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
GitLab
11.10 to before 15.1.6
15.1.6
CVE record
GitLab
15.2 to before 15.2.4
15.2.4
CVE record
GitLab
15.3 to before 15.3.2
15.3.2
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. 25 Aug 2022
    CVE ID reserved by GitLab.
  2. 6 Oct 2022
    Metasploit module: GitLab GitHub Repo Import Deserialization RCE.
  3. 8 Oct 2022
    First public proof of concept on GitHub.
  4. 17 Oct 2022
    Published in the CVE List.
  5. 14 May 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundCsEnox/CVE-2022-2992224 stars · created 8 Oct 2022Authenticated Remote Command Execution in Gitlab via GitHub import
GitHubno warning signs foundMalwareman007/CVE-2022-29928 stars · created 14 Oct 2022Authenticated Remote Command Execution in Gitlab via GitHub import.

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: Injection

All CWE-74 vulnerabilities

References
Cite this page

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