CVE-2023-28630
Sensitive information disclosure possible on misconfigured failed backups of non-H2 databases in gocd
Mitigation
- Upgrade gocd to 23.1.0 or later.
Who should check
- Anyone running gocd >= 20.5.0, < 23.1.0
Vulnerability facts
- Affected
- gocd >= 20.5.0, < 23.1.0
- Fixed in
- gocd 23.1.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.2 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: High
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-532
- Modified
Description
GoCD is an open source continuous delivery server. In GoCD versions from 20.5.0 and below 23.1.0, if the server environment is not correctly configured by administrators to provide access to the relevant PostgreSQL or MySQL backup tools, the credentials for database access may be unintentionally leaked to admin alerts on the GoCD user interface. The vulnerability is triggered only if the GoCD server host is misconfigured to have backups enabled, but does not have access to the `pg_dump` or `mysqldump` utility tools to backup the configured database type (PostgreSQL or MySQL respectively). In such cases, failure to launch the expected backup utility reports the shell environment used to attempt to launch in the server admin alert, which includes the plaintext database password supplied to the configured tool. This vulnerability does not affect backups of the default on-disk H2 database that GoCD is configured to use. This issue has been addressed and fixed in GoCD 23.1.0. Users are advised to upgrade. Users unable to upgrade may disable backups, or administrators should ensure that the required `pg_dump` (PostgreSQL) or `mysqldump` (MySQL) binaries are available on the GoCD server when backups are triggered.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| gocd | >= 20.5.0, < 23.1.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-28630. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-28630.md Affected: gocd >= 20.5.0, < 23.1.0 Fixed in: gocd 23.1.0 Steps: 1. Search this machine and project for gocd: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-28630 being exploited?
There is no confirmed exploitation: CVE-2023-28630 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-28630?
Medium: CVSS 4.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-28630?
gocd >= 20.5.0, < 23.1.0.
Is there a fix for CVE-2023-28630?
Yes. Fixed in gocd 23.1.0. Upgrade gocd to 23.1.0 or later.
How do I check if I'm affected by CVE-2023-28630?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.