# CVE-2024-56324: GoCD vulnerable to XXE injection via abuse of pipeline XML "snippet" editing by group admins

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- 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): 0.81%, higher than 57% of CVEs (2026-12-01)
- Published: 2025-01-03T15:56:52.174Z
- Modified: 2026-06-17T08:12:02.743Z
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

GoCD is a continuous deliver server. GoCD versions prior to 24.4.0 can allow GoCD "group admins" to abuse ability to edit the raw XML configuration for groups they administer to trigger XML External Entity (XXE) injection on the GoCD server. Theoretically, the XXE vulnerability can result in additional attacks such as SSRF, information disclosure from the GoCD server, and directory traversal, although these additional attacks have not been explicitly demonstrated as exploitable. This issue is fixed in GoCD 24.5.0. Some workarounds are available. One may temporarily block access to  `/go/*/pipelines/snippet` routes from an external reverse proxy or WAF if one's "group admin" users do not need the functionality to edit the XML of pipelines directly (rather than using the UI, or using a configuration repository). One may also prevent external access from one's GoCD server to arbitrary locations using some kind of environment egress control.

(As written by CVE List.)

## Affected

- gocd gocd: < 24.5.0
- thoughtworks gocd: before 24.5.0

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`

## References

- <https://github.com/gocd/gocd/security/advisories/GHSA-3w9f-fgr5-5g78> (vendor-advisory)
- <https://github.com/gocd/gocd/commit/410331a97eb2935e04c1372f50658e05c533f733> (patch)
- <https://github.com/gocd/gocd/releases/tag/24.5.0> (release-notes)
- <https://www.gocd.org/releases/#24-5-0> (release-notes)

## Sources

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

---

Page: https://cve.day/CVE-2024-56324 · Whole record: https://cve.day/CVE-2024-56324.json · Rebuilt by cve.day 2026-11-25T22:58:50.680Z
