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.
https://github.com/gocd/gocd/commit/6fa9fb7a7c91e760f1adc2593acdd50f2d78676b
https://github.com/gocd/gocd/commit/2b77b533abcbb79c8fc758dec9984305dc1ade42
https://www.tenable.com/cyber-exposure/2021-threat-landscape-retrospective
https://www.gocd.org/releases/#21-3-0
https://blog.sonarsource.com/gocd-vulnerability-chain
Source: Mitre, NVD
Published: 2022-04-14
Updated: 2026-06-17
Base Score: 6.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P
Severity: Medium
Base Score: 8.8
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
EPSS: 0.01604