What’s Vulnerable › Vulnerabilities
CVE-2022-2095
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-05 · updated 2026-06-17
- Weakness: CWE-863
Description
An improper access control check in GitLab CE/EE affecting all versions starting from 13.7 before 15.0.5, all versions starting from 15.1 before 15.1.4, all versions starting from 15.2 before 15.2.1 allows a malicious authenticated user to view a public project's Deploy Key's public fingerprint and name when that key has write permission. Note that GitLab never asks for nor stores the private key.
Affected products
- GitLab: from 13.7.0 before 15.0.5; from 15.1.0 before 15.1.4; 15.2 — fixed in 15.0.5, 15.1.4
How to fix
Upgrade to a fixed version: GitLab 15.0.5, 15.1.4. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2095.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/365415
- https://hackerone.com/reports/1600325
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2095.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/365415
- https://hackerone.com/reports/1600325
Get alerted when CVE-2022-2095 or the next vulnerability affects your stack