# CVE-2024-23840: `goreleaser release --debug` shows secrets

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-30T16:39:09.284Z
- Modified: 2026-09-10T03:50:09.335Z
- Also known as: GHSA-h3q2-8whx-c29h, GO-2024-2482
- Related: CGA-89xh-qff3-rh5c
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

GoReleaser builds Go binaries for several platforms, creates a GitHub release and then pushes a Homebrew formula to a tap repository. `goreleaser release --debug` log shows secret values used in the in the custom publisher. This vulnerability is fixed in 1.24.0.

(As written by CVE List.)

## Affected

- goreleaser goreleaser: 1.23.0
- github.com/goreleaser/goreleaser (Go): from 1.23.0 before 1.24.0

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h> (exploit, advisory, vendor-advisory, web)
- <https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23840> (advisory)
- <https://github.com/goreleaser/goreleaser> (package)

## Sources

- CVE List: [CVE-2024-23840](https://www.cve.org/CVERecord?id=CVE-2024-23840), CVE Terms of Use, modified 2025-05-29
- GitHub Advisory Database: [GHSA-h3q2-8whx-c29h](https://github.com/advisories/GHSA-h3q2-8whx-c29h), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2482](https://pkg.go.dev/vuln/GO-2024-2482), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-23840](https://nvd.nist.gov/vuln/detail/CVE-2024-23840), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23840 · Whole record: https://cve.day/CVE-2024-23840.json · Rebuilt by cve.day 2026-11-25T22:58:36.448Z
