Vulnerability record · CVE-2021-43286 · published 14 April 2022
CVE-2021-43286: Thoughtworks gocd command injection vulnerability
Thoughtworks · Gocd
An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker with privileges to create a new pipeline on a GoCD server can abuse a command-line injection in the Git URL "Test Connection" feature to execute arbitrary code.
Description
An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker with privileges to create a new pipeline on a GoCD server can abuse a command-line injection in the Git URL "Test Connection" feature to execute arbitrary code.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://blog.sonarsource.com/gocd-vulnerability-chain | ExploitPatchThird Party Advisory |
| https://github.com/gocd/gocd/commit/2b77b533abcbb79c8fc758dec9984305dc1ade42 | PatchThird Party Advisory |
| https://github.com/gocd/gocd/commit/6fa9fb7a7c91e760f1adc2593acdd50f2d78676b | PatchThird Party Advisory |
| https://www.gocd.org/releases/#21-3-0 | Issue TrackingRelease NotesVendor Advisory |
| https://blog.sonarsource.com/gocd-vulnerability-chain | ExploitPatchThird Party Advisory |
| https://github.com/gocd/gocd/commit/2b77b533abcbb79c8fc758dec9984305dc1ade42 | PatchThird Party Advisory |
| https://github.com/gocd/gocd/commit/6fa9fb7a7c91e760f1adc2593acdd50f2d78676b | PatchThird Party Advisory |
| https://www.gocd.org/releases/#21-3-0 | Issue TrackingRelease NotesVendor Advisory |
Track CVE-2021-43286 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-43286), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.