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

Not scored Published

An unauthenticated attacker can bypass Slack request authentication if the application is misconfigured with an empty signing secret.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-gxhx-2686-5h9g?

GHSA-gxhx-2686-5h9g is an authentication bypass vulnerability in github.com/slack-go/slack, published on 14 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by GHSA-gxhx-2686-5h9g?

3 open source packages ship an affected version, including github.com/slack-go/slack.

PackageAffectedFixed in
github.com/slack-go/slack GoAll versions0.23.1
github.com/slack-go/slack GoAll versions0.23.1
github.com/slack-go/slack GoAll versions0.23.1

How do I fix GHSA-gxhx-2686-5h9g?

Upgrade github.com/slack-go/slack to 0.23.1 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is GHSA-gxhx-2686-5h9g being exploited?

There is no known exploitation of GHSA-gxhx-2686-5h9g in the wild and no public exploit code.

Sources

Also known as GO-2026-5410.

Is GHSA-gxhx-2686-5h9g in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free