GHSA-gxhx-2686-5h9g: Github.com/slack go/slack Slack-go `SecretsVerifier` Accepts Empty Signing Vulnerability
MODERATEGHSA-gxhx-2686-5h9g is a MODERATE slack-go `secretsverifier` accepts empty signing vulnerability (CWE-287: Improper Authentication) affecting Github.com/slack go/slack libraries in the Go ecosystem. The issue involves slack-go `secretsverifier` accepts empty signing secret without precondition. Remediation is available by upgrading affected packages to version 0.23.1.
GHSA-gxhx-2686-5h9g at a Glance
How to Fix GHSA-gxhx-2686-5h9g
To remediate this vulnerability, upgrade all affected Github.com/slack go/slack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/slack-go/slack to 0.23.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/slack-go/slack
How to Check if You Are Affected
To determine whether your application is affected by GHSA-gxhx-2686-5h9g, inspect your project dependencies for Github.com/slack go/slack:
inspect dependencies for github.com/slack-go/slack
Analyze the terminal output to locate any version of Github.com/slack go/slack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/slack go/slack, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-gxhx-2686-5h9g Affected Github.com/slack go/slack Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/slack-go/slack
|
Go |
< 0.23.1
|
0.23.1
|
References
Frequently Asked Questions
What is GHSA-gxhx-2686-5h9g?
Which Github.com/slack go/slack versions are affected?
What version fixes GHSA-gxhx-2686-5h9g?
Is github.com/slack-go/slack affected?
What CWE is associated with GHSA-gxhx-2686-5h9g?
How can I check Go dependencies for GHSA-gxhx-2686-5h9g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gxhx-2686-5h9g",
"modified" : "2026-06-29T15:38:00Z",
"published" : "2026-05-14T20:52:55Z",
"aliases" : [ ],
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/slack-go/slack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1391", "CWE-287", "CWE-326" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-14T20:52:55Z",
"nvd_published_at" : null
}
}