# CVE-2021-25924: In GoCD, versions 19.6.0 to 21.1.0 are vulnerable to Cross-Site Request Forgery due to missing CSRF protection at the /go/api/config/backup…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2021-04-01T17:58:47.000Z
- Modified: 2026-06-17T03:42:35.560Z
- Weaknesses: CWE-352
- Assigned by: Mend

## Description

In GoCD, versions 19.6.0 to 21.1.0 are vulnerable to Cross-Site Request Forgery due to missing CSRF protection at the `/go/api/config/backup` endpoint. An attacker can trick a victim to click on a malicious link which could change backup configurations or execute system commands in the post_backup_script field.

(As written by CVE List.)

## Affected

- gocd: 19.6.0, 19.7.0, 19.8.0, 19.9.0, 19.10.0, 19.11.0, 19.12.0, 20.1.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, 20.10.0, 21.1.0
- thoughtworks gocd: from 19.6.0 before 21.2.0

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.3 High `AV:N/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25924%2C>
- <https://github.com/gocd/gocd/commit/7d0baab0d361c377af84994f95ba76c280048548> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-25924 · Whole record: https://cve.day/CVE-2021-25924.json · Rebuilt by cve.day 2026-11-25T22:58:00.551Z
