Home / GitLab / GitLab / CVE-2021-39913
CVE-2021-39913: is it exploited, and which versions of GitLab are affected and fixed?
CVE-2021-39913 is a sensitive information written to log files vulnerability in GitLab. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: GitLab <14.2.6, GitLab >=14.3, <14.3.4 and GitLab >=14.4, <14.4.1 (CVE record by GitLab). Fixed in 14.2.6 and 14.3.4 (NVD). Severity: Medium (4.4, CVSS 3.1, from GitLab).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-39913?
Accidental logging of system root password in the migration log in all versions of GitLab CE/EE before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1 allows an attacker with local file system access to obtain system root-level privileges
From the CVE record by GitLab, last updated August 4, 2024, 02:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| GitLab | GitLab | <14.2.6 >=14.3, <14.3.4 >=14.4, <14.4.1 |
As the CVE record by GitLab states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gitlab | gitlab | before 14.2.6 | application |
| gitlab | gitlab | from 14.3.0 before 14.3.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:04 UTC.
How severe is CVE-2021-39913?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | GitLab |
| Medium 6.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-39913 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.29% probability of exploitation activity in the next 30 days, percentile 23.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-532 Insertion of Sensitive Information into Log File
Where are the vendor advisories and references?
- https://gitlab.com/gitlab-org/gitlab/-/issues/28074 x_refsource_MISC
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39913.json x_refsource_CONFIRM
Who found and reported it?
- This vulnerability has been discovered internally by the GitLab team (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 23, 2021
- Published
- November 4, 2021, 23:08 UTC
- CVE record updated
- August 4, 2024, 02:20 UTC by GitLab
- NVD
- Modified, last modified June 17, 2026, 04:04 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect GitLab?
- Oct 13, 2026CVE-2026-97229 GitLab: integer overflow exploited
- Sep 12, 2026CVE-2026-85706 GitLab: path traversal (reading or writing files outside the intended folder) exploited
- Jan 12, 2024CVE-2023-7028 GitLab: weak password recovery exploited
- Dec 13, 2021CVE-2021-39935 GitLab: server-side request forgery (SSRF) exploited
- Jun 11, 2021CVE-2021-22175 GitLab: server-side request forgery (SSRF) exploited
- Apr 23, 2021CVE-2021-22205 GitLab: code injection (remote code execution) exploited
- Nov 26, 2026CVE-2026-17194 GitLab: use of Weak Hash
- Nov 25, 2026CVE-2026-81336 GitLab: improper Neutralization of Quoting Syntax
Questions about CVE-2021-39913
Is CVE-2021-39913 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of GitLab are affected by CVE-2021-39913?
GitLab <14.2.6, GitLab >=14.3, <14.3.4 and GitLab >=14.4, <14.4.1, per the CVE record by GitLab. The tables above give every range the sources list.
Which version fixes CVE-2021-39913?
14.2.6 and 14.3.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-39913?
Medium (4.4, CVSS 3.1, from GitLab). The severity table above shows each score with its source.
Where is the official record of CVE-2021-39913?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.