CVE-2020-13347: Gitlab Runner - Command Injection
- Cve: CVE-2020-13347
- Name: Gitlab Runner - Command Injection
- Description: A command injection vulnerability was discovered in Gitlab runner versions prior to 13.2.4, 13.3.2 and 13.4.1. When the runner is configured on a Windows system with a docker executor, which allows the attacker to run arbitrary commands on Windows host, via DOCKER_AUTH_CONFIG build variable.
- Impact: Attackers can execute arbitrary commands on the Windows host, potentially leading to full system compromise.
- Remediation: Update to version 13.4.1 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to control DOCKER_AUTH_CONFIG environment variable
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.02282
- Epss percentile: 0.83593
- Assignee: [email protected]
- Published at: 2020-10-07T14:15:11Z
- Age in days: 2239
- Modified at: 2026-06-17T02:53:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-13347
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2020/CVE-2020-13347.json | nvd | Vendor Advisory |
| https://hackerone.com/reports/955016 | nvd | Permissions Required, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitlab:gitlab | >= 13.4.0, < 13.4.1; >= 13.3.0, < 13.3.2; >= 12.0.0, < 13.2.4 | no | nvd | /v1/products/gitlab/gitlab |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 66493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports