Description
Slack Morphism is a client library for Slack Web/Events API/Socket Mode and Block Kit. Versions 1.0.0 through 2.27.0 expose 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. Version 2.28.0 patches the issue.
Published: 2026-10-21
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Replay Attack via HMAC leakage
Action: Apply Patch
AI Analysis

Impact

An attacker can exploit a flaw in Slack Morphism where the library exposes the correct Slack request HMAC when signature verification fails. The library stores the calculated HMAC in an error structure, and the default Axum listener logs the error’s debug and display representations, revealing the correct signature. This vulnerability maps to CWE-532, which involves archiving or logging of sensitive information. The impact is that an adversary can capture a valid signature for a crafted message and use it to forge Slack events, bypassing the need for the real signing secret.

Affected Systems

The issue affects the abdolence:slack-morphism-rust client library, specifically all versions from 1.0.0 up to and including 2.27.0. No specific newer versions are listed as affected; version 2.28.0 includes the patch.

Risk and Exploitability

The CVSS score of 5.3 places the vulnerability in a medium severity bracket. No EPSS data is available, and the CVE is not listed in the CISA KEV catalog, which suggests the exploitation likelihood may not yet be high. However, the attack requires the attacker to have network reach to the Slack callback endpoint and the ability to read the application logs. If an attacker can read logs, they can use the exposed HMAC as a chosen‑message oracle to replay the same request within Slack’s five‑minute freshness window, thereby gaining unauthorized execution of the callback logic. The risk is therefore elevated in environments where logs are exposed or not adequately protected.

Generated by OpenCVE AI on October 21, 2026 at 20:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade slack-morphism-rust to version 2.28.0 or later.
  • If an upgrade is not immediately feasible, replace the default Axum error handler with a custom one that suppresses the Debug/Display output of SlackEventWrongSignatureError, preventing the HMAC from being logged.
  • Ensure that the application’s log files are stored in a protected location with restricted access, so that an external attacker cannot read the logged HMAC values.

Generated by OpenCVE AI on October 21, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-26w4-8w32-4x3v Slack Morphism verifier errors disclose valid HMACs in the logs
History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Description Slack Morphism is a client library for Slack Web/Events API/Socket Mode and Block Kit. Versions 1.0.0 through 2.27.0 expose 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. Version 2.28.0 patches the issue.
Title Slack Morphism verifier errors disclose valid HMACs in the logs
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-21T16:15:10.051Z

Reserved: 2026-10-20T17:39:41.373Z

Link: CVE-2026-113799

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-21T17:18:25.123

Modified: 2026-10-21T17:18:25.123

Link: CVE-2026-113799

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T20:15:06Z

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File