CVE-2026-113799: slack-morphism HMAC Disclosure in Error Logs

slack-morphism Updated 21 Oct 2026

Summary

21/10/2026
Yes i
Moderate
5.3

CVE-2026-113799: Slack Morphism verifier errors disclose valid HMACs in the logs. Affects slack-morphism versions >= 1.0.0, < 2.28.0. Fixed in 2.28.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

slack-morphism is a Rust library designed to facilitate the integration of Slack's API with applications. It provides functionality for verifying Slack request signatures, ensuring that incoming requests are authentic and have not been tampered with. This library is crucial for applications that rely on Slack for events, commands, and interactions, as it helps maintain the integrity and security of communications between Slack and the application. However, a vulnerability has been identified that exposes sensitive information through error logs, potentially allowing attackers to bypass authentication mechanisms.

Vulnerability Detail

The vulnerability arises from the way slack-morphism handles signature verification errors. When a request with an invalid signature is received, the library computes the correct HMAC for the request and stores it in a public field of the error object. This generated HMAC is then exposed through the error's Debug and Display representations, which are logged at the error level by default. An attacker who can access the application's logs can exploit this by sending a crafted request, obtaining the correct HMAC from the logs, and then re-sending the request with the valid signature, thus bypassing authentication. This flaw poses a significant risk as it allows unauthorized access to protected application functionalities without needing the Slack signing secret.

How To Fix

Latest published version: 2.31.1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.28.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As an immediate workaround, you can remove the public 'generated_hash' field from the 'SlackEventWrongSignatureError' type in your local copy of the library. This will prevent the exposure of the correct HMAC in error logs. However, this is not a permanent solution, and updating to the patched version is recommended.

Conclusion

The slack-morphism library has a significant vulnerability (CVE-2026-113799) that exposes valid HMACs through error logs, allowing potential attackers to bypass authentication. It is crucial to update to the latest version (2.28.0) to mitigate this risk. For immediate concerns, a temporary workaround is available, but a permanent fix through updating is strongly recommended.

See every vulnerability recorded for slack-morphism →

Share this vulnerability

FAQ

CVE-2026-113799 is a vulnerability in the slack-morphism library that exposes valid HMACs in error logs, allowing attackers to bypass authentication.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors vulnerabilities in real-time using your Cargo.lock file.

An attacker could exploit this vulnerability to gain unauthorized access to application functionalities that rely on Slack's request authentication.

Yes, a patched version (2.28.0) of the slack-morphism library is available. It is recommended to update to this version to mitigate the vulnerability.

If you cannot update immediately, consider implementing the workaround by removing the public 'generated_hash' field from the error type to prevent HMAC exposure.

Related vulnerabilities

Recent vulnerabilities recorded for slack-morphism.

How To Fix

Latest published version: 2.31.1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.28.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback