CVE-2021-39889Gitlab
Medium 4.3
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 55
- Auth required
- Yes
- Published
- Oct 5, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-639
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
In all versions of GitLab EE since version 14.1, due to an insecure direct object reference vulnerability, an endpoint may reveal the protected branch name to a malicious user who makes a crafted API call with the ID of the protected branch.
What to do
- Apply the vendor's security update for Gitlab.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 14.1.0 < 14.1.7 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.5 |
| gitlab | gitlab | ≥ 14.3.0 < 14.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Vendor Advisory
- gitlab.com Broken Link
- hackerone.com Permissions Required Third Party Advisory