Home / GitLab / GitLab Runner / CVE-2021-39947
CVE-2021-39947: is it exploited, and which versions of GitLab Runner are affected and fixed?
CVE-2021-39947 is an Information exposure in GitLab Runner vulnerability in GitLab Runner. 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:09 UTC). Affected: GitLab Runner <14.3.4, GitLab Runner >=14.4, <14.4.2 and GitLab Runner >=14.5, <14.5.2 (CVE record by GitLab). Fixed in 14.3.4, 14.4.2 and 14.5.2 (NVD). Severity: Medium (5.3, CVSS 3.1, from GitLab).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2021-39947?
In specific circumstances, trace file buffers in GitLab Runner versions up to 14.3.4, 14.4 to 14.4.2, and 14.5 to 14.5.2 would re-use the file descriptor 0 for multiple traces and mix the output of several jobs
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 Runner | <14.3.4 >=14.4, <14.4.2 >=14.5, <14.5.2 |
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 runner | before 14.3.4 | application |
| gitlab | gitlab runner | from 14.4.0 before 14.4.2 | application |
| gitlab | gitlab runner | from 14.5.0 before 14.5.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:04 UTC.
How severe is CVE-2021-39947?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | GitLab |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | 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-39947 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.87% probability of exploitation activity in the next 30 days, percentile 60.0 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/28732 x_refsource_MISC
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39947.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
- June 6, 2022, 16:48 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:48 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect GitLab Runner?
- Jan 17, 2023CVE-2022-2251 GitLab Runner: OS command injection
- Dec 13, 2021CVE-2021-39939 GitLab Runner: denial of service (uncontrolled resource consumption)
- Oct 22, 2020CVE-2020-13327 GitLab Runner: Configuration in GitLab Runner
- Oct 7, 2020CVE-2020-13347 GitLab Runner: path traversal (reading or writing files outside the intended folder)
- Aug 10, 2020CVE-2020-13295 GitLab Runner: server-side request forgery (SSRF)
Questions about CVE-2021-39947
Is CVE-2021-39947 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.87% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of GitLab Runner are affected by CVE-2021-39947?
GitLab Runner <14.3.4, GitLab Runner >=14.4, <14.4.2 and GitLab Runner >=14.5, <14.5.2, per the CVE record by GitLab. The tables above give every range the sources list.
Which version fixes CVE-2021-39947?
14.3.4, 14.4.2 and 14.5.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-39947?
Medium (5.3, CVSS 3.1, from GitLab). The severity table above shows each score with its source.
Where is the official record of CVE-2021-39947?
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.