{"id":"GHSA-gxhx-2686-5h9g","aliases":["GHSA-gxhx-2686-5h9g","GO-2026-5410"],"related":[],"kind":"vulnerability","state":"published","title":"slack-go `SecretsVerifier` accepts empty signing secret without precondition","summary":"`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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"SecretsVerifier accepts empty signing secret without precondition in github.com/slack-go/slack","format":"markdown","source":"go"}],"published":"2026-05-14T20:52:55.000Z","modified":"2026-09-10T03:50:47.019Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-287","CWE-326","CWE-1391"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.23.1"}],"ecosystem":"Go","package":"github.com/slack-go/slack","purl":"pkg:golang/github.com/slack-go/slack","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.23.1"}],"ecosystem":"Go","package":"github.com/slack-go/slack","purl":"pkg:golang/github.com/slack-go/slack","source":"go"}],"references":[{"url":"https://github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/slack-go/slack/commit/34ad5c052e446f58505ae8d81a2a72821de107cc","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/slack-go/slack","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/slack-go/slack/releases/tag/v0.23.1","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gxhx-2686-5h9g","url":"https://github.com/advisories/GHSA-gxhx-2686-5h9g","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:47.019Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5410","url":"https://pkg.go.dev/vuln/GO-2026-5410","licence":"CC-BY-4.0","modified":"2026-07-07T20:30:13.596Z"}],"updatedAt":"2026-11-25T22:56:24.841Z"}