CVE-2024-56321
CVE-2024-56321 is a low-severity vulnerability in Thoughtworks Gocd with a CVSS 3.x base score of 3.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: Low (CVSS 3.x base score 3.8)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-53110
- Weakness: CWE-20
- Affected product: Thoughtworks Gocd
- Published:
- Last modified:
Description
GoCD is a continuous deliver server. GoCD versions 18.9.0 through 24.4.0 (inclusive) can allow GoCD admins to abuse the backup configuration "post-backup script" feature to potentially execute arbitrary scripts on the hosting server or container as GoCD's user, rather than pre-configured scripts. In practice the impact of this vulnerability is limited, as in most configurations a user who can log into the GoCD UI as an admin also has host administration permissions for the host/container that GoCD runs on, in order to manage artifact storage and other service-level configuration options. Additionally, since a GoCD admin has ability to configure and schedule pipelines tasks on all GoCD agents available to the server, the fundamental functionality of GoCD allows co-ordinated task execution similar to that of post-backup-scripts. However in restricted environments where the host administration is separated from the role of a GoCD admin, this may be unexpected. The issue is fixed in GoCD 24.5.0. Post-backup scripts can no longer be executed from within certain sensitive locations on the GoCD server. No known workarounds are available.
Frequently asked questions
- What is CVE-2024-56321?
- GoCD is a continuous deliver server. GoCD versions 18.9.0 through 24.4.0 (inclusive) can allow GoCD admins to abuse the backup configuration "post-backup script" feature to potentially execute arbitrary scripts on the hosting server or container as GoCD's user, rather than pre-configured scripts. In practice the impact of this vulnerability is limited, as in most configurations a user who can log into the GoCD UI as an admin also has host administration permissions for the host/container that GoCD runs on, in order to manage artifact storage and other service-level configuration options. Additionally, since a GoCD admin has ability to configure and schedule pipelines tasks on all GoCD agents available to the server, the fundamental functionality of GoCD allows co-ordinated task execution similar to that of post-backup-scripts. However in restricted environments where the host administration is separated from the role of a GoCD admin, this may be unexpected. The issue is fixed in GoCD 24.5.0. Post-backup scripts can no longer be executed from within certain sensitive locations on the GoCD server. No known workarounds are available.
- How severe is CVE-2024-56321?
- CVE-2024-56321 has a CVSS 3.x base score of 3.8, rated low severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-56321 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-56321?
- CVE-2024-56321 affects Thoughtworks Gocd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-56321?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-56321 have an EU (EUVD) identifier?
- Yes. CVE-2024-56321 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-53110.
- When was CVE-2024-56321 published?
- CVE-2024-56321 was published on 2025-01-03 and last updated on 2026-06-17.
References
- https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0
- https://github.com/gocd/gocd/releases/tag/24.5.0
- https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq
- https://www.gocd.org/releases/#24-5-0
Affected products (1)
- cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
More vulnerabilities in Thoughtworks Gocd
- CVE-2021-43290 — Critical (CVSS 9.8): An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker who has compromised a GoCD agent can upload a…
- CVE-2021-44659 — Critical (CVSS 9.8): Adding a new pipeline in GoCD server version 21.3.0 has a functionality that could be abused to do an un-intended…
- CVE-2022-39311 — Critical (CVSS 9.1): GoCD is a continuous delivery server. GoCD helps you automate and streamline the build-test-release cycle for…
- CVE-2024-56320 — High (CVSS 8.8): GoCD is a continuous deliver server. GoCD versions prior to 24.5.0 are vulnerable to admin privilege escalation due to…
- CVE-2022-29184 — High (CVSS 8.8): GoCD is a continuous delivery server. In GoCD versions prior to 22.1.0, it is possible for existing authenticated users…
- CVE-2021-43286 — High (CVSS 8.8): An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker with privileges to create a new pipeline on a…
All CVEs affecting Thoughtworks Gocd →
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →