CVE-2022-3870
GitLab vulnerability analysis and mitigation

Overview

GitLab CE/EE versions starting from 10.0 before 15.5.7, 15.6 before 15.6.4, and 15.7 before 15.7.2 were affected by a vulnerability that allowed unauthenticated users to download user avatars using victim's user ID on private instances that restrict public level visibility. The vulnerability was discovered through GitLab's HackerOne bug bounty program by researcher nocasis and was assigned CVE-2022-3870 (GitLab Security).

Technical details

The vulnerability is an Insecure Direct Object Reference (IDOR) issue that allows unauthorized access to user avatars through a direct URL path. The vulnerable endpoint was '/uploads/-/system/user/avatar/{user_id}/avatar.png', which could be accessed without authentication. The severity was rated as medium with a CVSS score of 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) (GitLab Security).

Impact

The vulnerability allowed attackers to enumerate through user IDs and retrieve avatar images without authorization, even in private GitLab instances. This could lead to privacy violations, enabling attackers to gather information about employees through their leaked avatars and potentially determine the number of engineers in an organization (GitLab Issue).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 15.7.2, 15.6.4, and 15.5.7. Organizations running affected versions were strongly recommended to upgrade to these patched versions immediately. GitLab.com was already running the patched version at the time of disclosure (GitLab Security).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-8405HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12029HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-11984MEDIUM6.8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-4097MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12734LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management