Security Resilience

CVE-2024-56320

Access Control in Thoughtworks Gocd ≤ 24.5.0

Published
03 January 2025
Modified
01 August 2025
Patch / advisory
CVSS Score v4 9.4
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0074 55th percentile
Risk Priority 43 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-56320 is a critical-severity Improper Authorization (CWE-285) vulnerability in Thoughtworks Gocd. Its CVSS base score is 9.4 (Critical).

Operationally, ranked in the top 45% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-56320 is an improper authorization vulnerability (CWE-285) in GoCD, an open-source continuous delivery server. Versions prior to 24.5.0 are affected due to inadequate access controls on the admin "Configuration XML" UI feature and its associated API, enabling unauthorized access to sensitive administrative functions. The issue carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), highlighting high confidentiality, integrity, and availability impacts.

An authenticated GoCD user, such as a malicious insider with an existing account, can exploit this vulnerability over the network with low complexity and no user interaction required. Exploitation allows the attacker to view information restricted to GoCD administrators or persistently escalate their privileges to full admin level. Prior authentication is necessary, preventing unauthenticated abuse.

The vulnerability is fixed in GoCD version 24.5.0, as detailed in the official release notes and security advisory. For those unable to upgrade immediately, mitigations include blocking access to paths with the /go/rails/ prefix using a reverse proxy or WAF, which incurs no functionality loss. Alternatively, administrators should reduce the user base to trusted individuals and disable plugins like guest-login-plugin that enable anonymous access as regular users. Relevant resources include the GoCD GitHub security advisory (GHSA-346h-q594-rj8j), patch commit, and release page.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

GoCD is a continuous deliver server. GoCD versions prior to 24.5.0 are vulnerable to admin privilege escalation due to improper authorization of access to the admin "Configuration XML" UI feature, and its associated API. A malicious insider/existing authenticated GoCD user…

more

with an existing GoCD user account could abuse this vulnerability to access information intended only for GoCD admins, or to escalate their privileges to that of a GoCD admin in a persistent manner. it is not possible for this vulnerability to be abused prior to authentication/login. The issue is fixed in GoCD 24.5.0. GoCD users who are not able to immediate upgrade can mitigate this issue by using a reverse proxy, WAF or similar to externally block access paths with a `/go/rails/` prefix. Blocking this route causes no loss of functionality. If it is not possible to upgrade or block the above route, consider reducing the GoCD user base to more trusted set of users, including temporarily disabling use of plugins such as the guest-login-plugin, which allow limited anonymous access as a regular user account.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-28630Same product: Thoughtworks Gocd
CVE-2023-28629Same product: Thoughtworks Gocd
CVE-2024-56322Same product: Thoughtworks Gocd
CVE-2024-56324Same product: Thoughtworks Gocd
CVE-2024-56321Same product: Thoughtworks Gocd
CVE-2024-28866Same product: Thoughtworks Gocd
CVE-2026-49877Shared CWE-285
CVE-2024-20441Shared CWE-285
CVE-2024-43460Shared CWE-285
CVE-2026-56350Shared CWE-285

Affected Assets

thoughtworks
gocd
≤ 24.5.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates that access-control decisions are made and applied to each request before access occurs.

Requires a tamperproof, always-invoked reference monitor that performs authorization checks.

Directly requires enforcement of approved authorizations for every access request, stopping improper or missing checks.

Limits granted privileges so that even a bypassed check affects fewer resources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.3's access restriction mechanisms — configuration controls, per-identity permissions, dynamic access management with authentication requirements — block most exploitation of missing or incorrect authorization checks at the system and configuration layer even when the application code itself has CWE-285; the remainder is application-level authorization flaws whose specific code paths are not fully covered by the system-level access controls A.8.3 mandates.

finds

Independent reviewers evaluate whether authorization logic matches policy, thereby reducing the window in which incorrect or missing authorization checks remain in production.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-285, a class-level weakness. Rules are authored against its narrower children: CWE-552.

References