CVE-2021-39891Gitlab
Medium 4.9
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 30
- CVSS 3.1
- 4.9
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- Yes
- Published
- Oct 5, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-212
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
What happens
In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the end of impersonation which may lead to unnecessary sensitive info disclosure.
What to do
- Apply the vendor's security update for Gitlab.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 8.0.0 < 14.1.7 |
| gitlab | gitlab | ≥ 8.0.0 < 14.1.7 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.5 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.5 |
| gitlab | gitlab | ≥ 14.3.0 < 14.3.1 |
| 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