Medium severity6.5NVD Advisory· Published Oct 5, 2021· Updated Jun 17, 2026
CVE-2021-39872
CVE-2021-39872
Description
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.
Affected products
8cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*+ 5 more
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*range: >=14.1.0,<14.1.7
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*range: >=14.1.0,<14.1.7
- cpe:2.3:a:gitlab:gitlab:4.3.0:*:*:*:community:*:*:*
- cpe:2.3:a:gitlab:gitlab:4.3.0:*:*:*:enterprise:*:*:*
- (no CPE)range: >=14.1
- (no CPE)range: >=14.1, <14.1.7
- Range: >=14.1
Patches
Vulnerability mechanics
References
3- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39872.jsonnvdVendor Advisory
- hackerone.com/reports/1285226nvdPermissions RequiredThird Party Advisory
- gitlab.com/gitlab-org/gitlab/-/issues/337954nvdBroken Link
News mentions
0No linked articles in our index yet.