CVE-2021-39941Gitlab
Medium 5.3 No auth needed
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Gitlab.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 12.0.0 < 14.3.6 |
| gitlab | gitlab | ≥ 12.0.0 < 14.3.6 |
| gitlab | gitlab | ≥ 14.4.0 < 14.4.4 |
| gitlab | gitlab | ≥ 14.4.0 < 14.4.4 |
| gitlab | gitlab | ≥ 14.5.0 < 14.5.2 |
| gitlab | gitlab | ≥ 14.5.0 < 14.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Third Party Advisory
- gitlab.com Broken Link
- hackerone.com Permissions Required Third Party Advisory