CVE-2024-56322 Details
Description
GoCD is a continuous deliver server. GoCD versions 16.7.0 through 24.4.0 (inclusive) can allow GoCD admins to abuse a hidden/unused configuration repository (pipelines as code) feature to allow XML External Entity (XXE) injection on the GoCD Server which will be executed when GoCD periodically scans configuration repositories for pipeline updates, or is triggered by an administrator or config repo admin. In practice the impact of this vulnerability is limited, in most cases without combining with another vulnerability, as only GoCD (super) admins have the ability to abuse this vulnerability. Typically a malicious GoCD admin can cause much larger damage than that they can do with XXE injection. The issue is fixed in GoCD 24.5.0. As a workaround, prevent external access from the GoCD server to arbitrary locations using some kind of environment egress control.
A vulnerability allowing XML External Entity (XXE) injection has been identified in GoCD, a continuous delivery server. This issue affects GoCD versions 16.7.0 prior to 24.5.0. The vulnerability arises from the ability of GoCD admins to exploit a hidden configuration repository feature, 'pipelines as code', leading to XXE injection on the GoCD Server. The injected XML entities are processed when GoCD scans for pipeline updates, either automatically or at the request of an administrator. While the impact is generally limited, as only GoCD (super) admins can exploit this vulnerability, a malicious admin could potentially cause more significant damage than what XXE injection alone would allow.
Users can upgrade to GoCD version 24.5.0, where this vulnerability has been fixed. If an immediate upgrade is not possible, it is recommended to block external access from the GoCD server to arbitrary locations, using some form of environment egress control.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| thoughtworks gocd | >= 16.7.0, < 24.5.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 1, 2025 | Initial Analysis | [email protected] |
| Jan 3, 2025 | New CVE Received | [email protected] |