# CVE-2021-43286: An issue was discovered in ThoughtWorks GoCD before 21.3.0.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.90%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-14T12:55:51.000Z
- Modified: 2026-06-17T04:10:47.487Z
- Weaknesses: CWE-77
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- thoughtworks gocd: before 21.3.0

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://blog.sonarsource.com/gocd-vulnerability-chain> (exploit, patch, third-party-advisory)
- <https://www.gocd.org/releases/#21-3-0> (issue-tracking, release-notes, vendor-advisory)
- <https://github.com/gocd/gocd/commit/2b77b533abcbb79c8fc758dec9984305dc1ade42> (patch, third-party-advisory)
- <https://github.com/gocd/gocd/commit/6fa9fb7a7c91e760f1adc2593acdd50f2d78676b> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-43286](https://www.cve.org/CVERecord?id=CVE-2021-43286), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-43286](https://nvd.nist.gov/vuln/detail/CVE-2021-43286), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43286 · Whole record: https://cve.day/CVE-2021-43286.json · Rebuilt by cve.day 2026-11-25T22:24:36.885Z
