CVE-2026-113799: Slack Morphism verifier errors disclose valid HMACs in the logs
Slack Morphism exposes the correct Slack request HMAC when signature verification fails.
For an invalid request, slack-morphism computes the correct signature for the attacker-controlled timestamp and request body and stores it in SlackEventWrongSignatureError.generated_hash. The error’s Debug and Display representations expose that value, and the default Axum listener error handler logs it at error level.
An attacker who can both reach the application’s Slack callback endpoint and read its application/service logs can therefore use the verifier as a chosen-message HMAC oracle. The attacker can send an arbitrary request with an invalid signature, recover the correct signature from the resulting log entry, and resend the same request within the five-minute freshness window. The second request passes Slack Morphism’s signature verification and reaches the protected application callback without the attacker knowing the Slack signing secret.
I reproduced this end-to-end against both the Axum and Hyper integrations in slack-morphism 2.26.0 and 2.27.0.
References
- github.com/abdolence/slack-morphism-rust/commit/ac95d0d4539d0eac548a8db99c51c0c1ae832756
- github.com/abdolence/slack-morphism-rust/pull/387
- github.com/abdolence/slack-morphism-rust/releases/tag/v2.28.0
- github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-26w4-8w32-4x3v
- github.com/advisories/GHSA-26w4-8w32-4x3v
- nvd.nist.gov/vuln/detail/CVE-2026-113799
Code Behaviors & Features
Detect and mitigate CVE-2026-113799 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →