CVE-2024-56322
published low CVSS 4.0 · 2.1GoCD vulnerable to XXE injection via abuse of unused XML configuration repository functionality
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gocd | — | gocd>= 16.7.0, < 24.5.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gocd | gocd | >= 16.7.0, < 24.5.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
References
4Provider assertions
2GitHub_M · cna
GoCD vulnerable to XXE injection via abuse of unused XML configuration repository functionality
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5a1f11e6a6655f3629ebb9bda2506974a1f2ba09ab7d761a9c1d571ac8d8bd96
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record