Advisory

GHSA-gxhx-2686-5h9g

Also known as: GO-2026-5410

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-14 20:52 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/slack-go/slack

Go · All systems

Affected

  • introduced 0, fixed 0.23.1 (semver)

Fixed versions

0.23.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences