GHSA-gxhx-2686-5h9g — slack
Fix: slack-go/slack@34ad5c0GHSA-gxhx-2686-5h9g is a security vulnerability in github.com/slack-go/slack. A fix is available for github.com/slack-go/slack — see the affected versions and patch details below.
slack-go `SecretsVerifier` accepts empty signing secret without precondition
Real-World Exposure
github.com/slack-go/slackReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/slack-go/slack | all versions | 0.23.1go get github.com/slack-go/slack@v0.23.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/slack-go/slack, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/slack-go/slack to 0.23.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-gxhx-2686-5h9g is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-gxhx-2686-5h9g in your dependencies?
Find it across Go, including transitive dependencies.