{"id":"GHSA-gxhx-2686-5h9g","aliases":["GO-2026-5410"],"summary":"slack-go `SecretsVerifier` accepts empty signing secret without precondition","published_at":"2026-05-14T20:52:55Z","modified_at":"2026-09-10T03:50:47.01955Z","products":[],"rating":{"severity":"medium","score":4.8,"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":6.8,"record_count":2,"vendors":["GitHub","Go"],"details":"`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.","affected_stack":[],"affected_other":[{"ecosystem":"Go","package":"github.com/slack-go/slack","purl":"pkg:golang/github.com/slack-go/slack","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.23.1"}]}],"fixed":["0.23.1"],"provider":"osv","source":"GHSA-gxhx-2686-5h9g","relation":"self"},{"ecosystem":"Go","package":"github.com/slack-go/slack","purl":"pkg:golang/github.com/slack-go/slack","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.23.1"}]}],"fixed":["0.23.1"],"provider":"osv","source":"GO-2026-5410","relation":"self"}],"product_status":[],"records":[{"provider":"osv","source_id":"GHSA-gxhx-2686-5h9g","relation":"self","url":"https://osv.dev/vulnerability/GHSA-gxhx-2686-5h9g","license":"CC-BY-4.0","published_at":"2026-05-14T20:52:55Z","modified_at":"2026-09-10T03:50:47.01955Z","summary":"slack-go `SecretsVerifier` accepts empty signing secret without precondition","details":"`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.","severity":[{"type":"CVSS_V4","score":"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","source":"GHSA-gxhx-2686-5h9g"}],"affected":[{"ecosystem":"Go","package":"github.com/slack-go/slack","purl":"pkg:golang/github.com/slack-go/slack","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.23.1"}]}],"fixed":["0.23.1"],"provider":"osv","source":"GHSA-gxhx-2686-5h9g","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g"},{"type":"WEB","url":"https://github.com/slack-go/slack/commit/34ad5c052e446f58505ae8d81a2a72821de107cc"},{"type":"PACKAGE","url":"https://github.com/slack-go/slack"},{"type":"WEB","url":"https://github.com/slack-go/slack/releases/tag/v0.23.1"}]},{"provider":"osv","source_id":"GO-2026-5410","relation":"self","url":"https://osv.dev/vulnerability/GO-2026-5410","license":"CC-BY-4.0","published_at":"2026-07-07T16:52:19Z","modified_at":"2026-07-07T20:30:13.596592Z","summary":"SecretsVerifier accepts empty signing secret without precondition in github.com/slack-go/slack","details":"SecretsVerifier accepts empty signing secret without precondition in github.com/slack-go/slack","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/slack-go/slack","purl":"pkg:golang/github.com/slack-go/slack","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.23.1"}]}],"fixed":["0.23.1"],"provider":"osv","source":"GO-2026-5410","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g"},{"type":"FIX","url":"https://github.com/slack-go/slack/commit/34ad5c052e446f58505ae8d81a2a72821de107cc"},{"type":"WEB","url":"https://github.com/slack-go/slack/releases/tag/v0.23.1"}]}],"references":[{"type":"WEB","url":"https://github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g"},{"type":"WEB","url":"https://github.com/slack-go/slack/commit/34ad5c052e446f58505ae8d81a2a72821de107cc"},{"type":"PACKAGE","url":"https://github.com/slack-go/slack"},{"type":"WEB","url":"https://github.com/slack-go/slack/releases/tag/v0.23.1"}],"sources":[{"provider":"osv","source_id":"GHSA-gxhx-2686-5h9g","url":"https://osv.dev/vulnerability/GHSA-gxhx-2686-5h9g","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:47.01955Z","relation":"self"},{"provider":"osv","source_id":"GO-2026-5410","url":"https://osv.dev/vulnerability/GO-2026-5410","license":"CC-BY-4.0","modified_at":"2026-07-07T20:30:13.596592Z","relation":"self"}]}
