Skip to content
Heist/ feed
Back to feed
Low

GoCD vulnerable to XXE injection via abuse of pipeline XML "snippet" editing by group admins

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-56324
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:46 UTC · Revision 1

Source evidence

GoCD vulnerable to XXE injection via abuse of pipeline XML "snippet" editing by group admins

core-osv · Original source

Published 3 Jan 2025, 15:56 UTC

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.

osv:CVE-2024-56324
Complete source record
{
  "id": "af67292b3fddbdb4c45c44eaa71c9a373deac38bf96b7b8b3509e28662daa407",
  "url": "https://osv.dev/vulnerability/CVE-2024-56324",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GoCD vulnerable to XXE injection via abuse of pipeline XML \"snippet\" editing by group admins",
    "summary": "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.",
    "evidence": "osv:CVE-2024-56324",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-56324",
      "aliases": [
        "CVE-2024-56324",
        "GHSA-3w9f-fgr5-5g78"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gocd/gocd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8f7bf5297c90c909e42d030baad54a1d32701c65"
                },
                {
                  "fixed": "410331a97eb2935e04c1372f50658e05c533f733"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "24.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "410331a97eb2935e04c1372f50658e05c533f733"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8f7bf5297c90c909e42d030baad54a1d32701c65"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "24.5.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "24.4.0",
            "24.3.0",
            "24.2.0",
            "24.1.0",
            "23.5.0",
            "23.4.0",
            "23.3.0",
            "23.2.0",
            "23.1.0",
            "22.3.0",
            "22.2.0",
            "22.1.0",
            "21.4.0",
            "21.3.0",
            "21.2.0",
            "21.1.0",
            "20.10.0",
            "20.9.0",
            "20.8.0",
            "20.7.0",
            "20.6.0",
            "20.5.0",
            "20.4.0",
            "20.3.0",
            "20.2.0",
            "20.1.0",
            "19.12.0",
            "19.11.0",
            "19.10.0",
            "19.9.0",
            "19.8.0",
            "19.7.0",
            "19.6.0",
            "19.5.0",
            "19.4.0",
            "19.3.0",
            "19.2.0",
            "19.1.0",
            "18.12.0",
            "18.11.0",
            "18.10.0",
            "18.9.0",
            "18.8.0",
            "18.7.0",
            "18.6.0",
            "18.5.0",
            "18.4.0",
            "18.3.0",
            "18.2.0",
            "18.1.0",
            "17.12.0",
            "17.11.0",
            "17.10.0",
            "17.9.0",
            "17.8.0",
            "17.7.0",
            "17.6.0",
            "17.5.0",
            "17.4.0",
            "17.3.0",
            "17.2.0",
            "17.1.0",
            "16.12.0",
            "16.11.0",
            "16.10.0",
            "16.9.0",
            "16.8.0",
            "16.7.0",
            "16.6.0",
            "16.5.0",
            "16.4.0",
            "16.3.0",
            "16.2.0",
            "16.1.0",
            "15.3.0",
            "15.2.0",
            "15.1.0",
            "14.4.0",
            "14.3.0",
            "14.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56324.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.296425967Z",
      "provider": "osv",
      "references": [
        "https://github.com/gocd/gocd/releases/tag/24.5.0",
        "https://www.gocd.org/releases/#24-5-0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56324.json",
        "https://github.com/gocd/gocd/security/advisories/GHSA-3w9f-fgr5-5g78",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-56324",
        "https://github.com/gocd/gocd/commit/410331a97eb2935e04c1372f50658e05c533f733"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-611"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56324.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-56324",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497982,
  "published_at": "2025-01-03T15:56:52.174+00:00"
}