CVE-2026-55625: GoCD is vulnerable to authorization bypass via material connection test APIs
GoCD is a continuous deliver server. From 16.1.0 until 26.1.0, the internal material connection test APIs at /go/api/admin/internal/materialtest and /go/api/internal/configrepos//materialtest accept an arbitrary existing pipeline and pipeline-group context without sufficient validation. A pipeline group administrator can invoke Test Connection for source control materials outside the administrator's authorized pipeline group or configuration repository and potentially use credentials from those materials. For GoCD 20.6.0 and later, the test context can also resolve external secrets managed by secret-management plugins, including global reusable secrets with separate permissions. This issue is fixed in version 26.1.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.1.0
Event History
Frequently Asked Questions
Who can exploit this issue?
A pipeline group administrator can exploit it. The attacker must be able to invoke the internal material connection test APIs and supply the context of an existing pipeline or pipeline group outside their authorized scope.
What information could be exposed?
The connection test can potentially use credentials configured for source control materials outside the administrator's authorized pipeline group or configuration repository. In GoCD 20.6.0 and later, it can also resolve external secrets through secret-management plugins, including global reusable secrets with separate permissions.
Which versions are affected and what version fixes the issue?
GoCD versions from 16.1.0 until 26.1.0 are affected. The issue is fixed in version 26.1.0.