CVE-2026-52742

Source
https://cve.org/CVERecord?id=CVE-2026-52742
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52742.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52742
Aliases
  • GHSA-7xxx-fv46-vp7h
Published
2026-09-21T15:01:42Z
Modified
2026-09-23T08:15:48Z
Severity
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N CVSS Calculator
Summary
GoCD is vulnerable to historical server configuration API authorization bypass
Details

GoCD is a continuous deliver server. From 12.3.1 until 26.1.0, legacy routes under /go/admin/restful/* expose historical full server configuration to pipeline group administrators instead of restricting responses to configuration for groups they administer. The disclosed configuration can include agent auto-registration keys, webhook invocation keys, encrypted material credentials, and GoCD administrator lists. A malicious pipeline group administrator can use disclosed agent registration data to connect a rogue compatible agent, which can create a higher-complexity path to receiving work or overwriting artifacts associated with other groups. Normal authenticated users are not affected, the endpoint does not modify server configuration, and deployments that restrict pipeline editing to full administrators or configuration repositories are not affected. This issue is fixed in version 26.1.0.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-863"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52742.json"
}
References

Affected packages

Git / github.com/gocd/gocd

Affected ranges

Type
GIT
Repo
https://github.com/gocd/gocd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "12.3.1"
        },
        {
            "fixed":  "26.1.0"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

14.*
14.2.0
14.3.0
14.4.0
15.*
15.1.0
15.2.0
15.3.0
16.*
16.1.0
16.10.0
16.11.0
16.12.0
16.2.0
16.3.0
16.4.0
16.5.0
16.6.0
16.7.0
16.8.0
16.9.0
17.*
17.1.0
17.10.0
17.11.0
17.12.0
17.2.0
17.3.0
17.4.0
17.5.0
17.6.0
17.7.0
17.8.0
17.9.0
18.*
18.1.0
18.10.0
18.11.0
18.12.0
18.2.0
18.3.0
18.4.0
18.5.0
18.6.0
18.7.0
18.8.0
18.9.0
19.*
19.1.0
19.10.0
19.11.0
19.12.0
19.2.0
19.3.0
19.4.0
19.5.0
19.6.0
19.7.0
19.8.0
19.9.0
20.*
20.1.0
20.10.0
20.2.0
20.3.0
20.4.0
20.5.0
20.6.0
20.7.0
20.8.0
20.9.0
21.*
21.1.0
21.2.0
21.3.0
21.4.0
22.*
22.1.0
22.2.0
22.3.0
23.*
23.1.0
23.2.0
23.3.0
23.4.0
23.5.0
24.*
24.1.0
24.2.0
24.3.0
24.4.0
24.5.0
25.*
25.1.0
25.2.0
25.3.0
25.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52742.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "293644107583814706305313834881514248581",
                "43526100860380261015420273856821442599",
                "157233936825244187698220557484897351053"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-52742-1edf0217",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gocd/gocd/commit/55b7b460510bb739c1ae6d226ff7fb650596dca2",
        "target":  {
            "file":  "server/src/test/java/com/thoughtworks/go/server/service/ConsoleServiceTest.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "250222003766494194465964995240362262739",
            "length":  800
        },
        "id":  "CVE-2026-52742-27d5397f",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gocd/gocd/commit/55b7b460510bb739c1ae6d226ff7fb650596dca2",
        "target":  {
            "file":  "server/src/test/java/com/thoughtworks/go/server/service/ConsoleServiceTest.java",
            "function":  "shouldReturnUsefulErrorIfMoveConsoleArtifactsFails"
        }
    }
]
vanir_signatures_modified
"2026-09-23T08:15:48Z"