Live threats

All CVEs / Gitlab

CVE-2021-39941Gitlab

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Dec 13, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-200
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

An information disclosure vulnerability in GitLab CE/EE versions 12.0 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed non-project members to see the default branch name for projects that restrict access to the repository to project members

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitlab.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gitlabgitlab≥ 12.0.0 < 14.3.6
gitlabgitlab≥ 12.0.0 < 14.3.6
gitlabgitlab≥ 14.4.0 < 14.4.4
gitlabgitlab≥ 14.4.0 < 14.4.4
gitlabgitlab≥ 14.5.0 < 14.5.2
gitlabgitlab≥ 14.5.0 < 14.5.2

Official sources

References

Links published by the sources. Open them with care.