CVE-2021-39872Gitlab
Medium 6.5
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 61
- Auth required
- Yes
- Published
- Oct 5, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
In all versions of GitLab CE/EE since version 14.1, an improper access control vulnerability allows users with expired password to still access GitLab through git and API through access tokens acquired before password expiration.
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.1.0 < 14.1.7 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.5 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.5 |
| gitlab | gitlab | 4.3.0 |
| gitlab | gitlab | 4.3.0 |
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