What’s Vulnerable › Vulnerabilities
CVE-2022-4138
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-13 · updated 2026-06-17
- Weakness: CWE-352
Description
A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.
Affected products
- GitLab: before 15.6.7; from 15.7 before 15.7.6; from 15.8 before 15.8.1 — fixed in 15.6.7, 15.7.6, 15.8.1
How to fix
Upgrade to a fixed version: GitLab 15.6.7, 15.7.6, 15.8.1. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4138.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/383709
- https://hackerone.com/reports/1778009
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4138.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/383709
- https://hackerone.com/reports/1778009
Get alerted when CVE-2022-4138 or the next vulnerability affects your stack