# GHSA-gxhx-2686-5h9g: slack-go `SecretsVerifier` accepts empty signing secret without precondition

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-14T20:52:55.000Z
- Modified: 2026-09-10T03:50:47.019Z
- Also known as: GO-2026-5410
- Weaknesses: CWE-287, CWE-326, CWE-1391

## Description

`SecretsVerifier` in slack-go/slack before v0.23.1 accepts an empty signing secret without error. If an application is misconfigured (e.g., an unset or empty `SLACK_SIGNING_SECRET`), `NewSecretsVerifier` builds an HMAC-SHA256 keyed with an empty string, allowing an unauthenticated attacker to forge a valid `X-Slack-Signature` and bypass Slack request authentication. Fixed in v0.23.1, which rejects empty secrets with `ErrInvalidConfiguration`. This is patched in version 0.23.1.

(As written by GitHub Advisory Database.)

## Affected

- github.com/slack-go/slack (Go): before 0.23.1

## References

- <https://github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g> (advisory, web)
- <https://github.com/slack-go/slack/commit/34ad5c052e446f58505ae8d81a2a72821de107cc> (fix, web)
- <https://github.com/slack-go/slack> (package)
- <https://github.com/slack-go/slack/releases/tag/v0.23.1> (web)

## Sources

- GitHub Advisory Database: [GHSA-gxhx-2686-5h9g](https://github.com/advisories/GHSA-gxhx-2686-5h9g), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5410](https://pkg.go.dev/vuln/GO-2026-5410), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/GHSA-gxhx-2686-5h9g · Whole record: https://cve.day/GHSA-gxhx-2686-5h9g.json · Rebuilt by cve.day 2026-11-25T22:56:24.841Z
