{"id":"CVE-2022-2992","published":"2022-10-17T00:00:00Z","modified":"2025-05-14T14:27:30Z","title":"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…","vendor":"GitLab","product":"GitLab","tier":"core","eol":null,"affectedVersions":[{"vendor":"GitLab","product":"GitLab","versions":[">=11.10, <15.1.6",">=15.2, <15.2.4",">=15.3, <15.3.2"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an injection weakness (improper neutralization of special elements in output used by a downstream component) in GitLab CE/EE, affecting the Import from GitHub API endpoint. An authenticated user with low privileges and no user interaction can send a request to that endpoint over the network to achieve remote code execution with a scope change, affecting resources beyond the vulnerable component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:08Z"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.86194,"percentile":0.99732,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":null,"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/371884","tags":[]},{"url":"https://hackerone.com/reports/1679624","tags":[]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2992.json","tags":[]},{"url":"http://packetstormsecurity.com/files/171008/GitLab-GitHub-Repo-Import-Deserialization-Remote-Code-Execution.html","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-35210","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-35210","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2022-10-08","earliestUrl":"https://github.com/CsEnox/CVE-2022-2992","repos":[{"name":"CsEnox/CVE-2022-2992","url":"https://github.com/CsEnox/CVE-2022-2992","stars":224,"created":"2022-10-08"},{"name":"Malwareman007/CVE-2022-2992","url":"https://github.com/Malwareman007/CVE-2022-2992","stars":8,"created":"2022-10-14"}]},"metasploit":[{"name":"GitLab GitHub Repo Import Deserialization RCE","module":"exploit/multi/http/gitlab_github_import_rce_cve_2022_2992","type":"exploit","disclosureDate":"2022-10-06","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitlab_github_import_rce_cve_2022_2992.rb"}],"first":{"date":"2022-10-06","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitlab_github_import_rce_cve_2022_2992.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/171008/GitLab-GitHub-Repo-Import-Deserialization-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2022-10-06","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-10-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitlab_github_import_rce_cve_2022_2992.rb","provenance":"source"},{"date":"2022-10-17","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-2992","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":31.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.95,"detail":"percentile 0.9973"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 2 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.93,"detail":"base score 9.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}