Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-39872
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:27 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-39872
Complete source record
{
"id": "243b43b8b19a2d7a99ea67be4ed04d0554eebfaa823fba146ebd64d3dc027299",
"url": "https://osv.dev/vulnerability/CVE-2021-39872",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-39872",
"summary": "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.",
"evidence": "osv:CVE-2021-39872",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-39872",
"aliases": [
"BIT-gitlab-2021-39872",
"CVE-2021-39872"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "e4567ef4362f4ef24a09112564b31dfe9044ea12"
},
{
"fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
},
{
"introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
},
{
"fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "14.1.0"
},
{
"fixed": "14.1.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "14.1.0"
},
{
"fixed": "14.1.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "14.2.0"
},
{
"fixed": "14.2.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "14.2.0"
},
{
"fixed": "14.2.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v14.1.6-ee",
"v14.2.4-ee",
"v14.1.5-ee",
"v14.2.3-ee",
"v14.1.3-ee",
"v14.2.1-ee",
"v14.2.0-ee",
"v14.1.1-ee",
"v14.1.0-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39872.json"
}
}
],
"modified": "2026-10-30T10:30:36.169361640Z",
"provider": "osv",
"references": [
"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39872.json",
"https://gitlab.com/gitlab-org/gitlab/-/issues/337954",
"https://hackerone.com/reports/1285226"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gitlab:gitlab:4.3.0:*:*:*:community:*:*:*",
"cpe:2.3:a:gitlab:gitlab:4.3.0:*:*:*:enterprise:*:*:*"
],
"vendor_product": "gitlab:gitlab",
"extracted_events": [
{
"range": [
{
"introduced": "4.3.0"
},
{
"last_affected": "4.3.0"
},
{
"introduced": "4.3.0"
},
{
"last_affected": "4.3.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-39872",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 434762,
"published_at": "2021-10-05T13:15:08.09+00:00"
}