Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/slack-go/slack
  4. ›
  5. GHSA-gxhx-2686-5h9g

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

May 14, 2026 (updated June 29, 2026)

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.

References

  • github.com/advisories/GHSA-gxhx-2686-5h9g
  • github.com/slack-go/slack/commit/34ad5c052e446f58505ae8d81a2a72821de107cc
  • github.com/slack-go/slack/releases/tag/v0.23.1
  • github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g

Code Behaviors & Features

Detect and mitigate GHSA-gxhx-2686-5h9g with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.23.1

Fixed versions

  • 0.23.1

Solution

Upgrade to version 0.23.1 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1391: Use of Weak Credentials
  • CWE-287: Improper Authentication
  • CWE-326: Inadequate Encryption Strength

Source file

go/github.com/slack-go/slack/GHSA-gxhx-2686-5h9g.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 12:15:55 +0000.