OpenClaw: Unauthorized Telegram Senders Trigger Media Download and Disk Write Before Access Check

Description

Impact

In Telegram DM mode, inbound media was downloaded and written to disk before sender authorization checks completed. An unauthorized sender could trigger inbound media download/write activity (including media groups) even when DM access should be denied.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published version currently affected: 2026.2.23
  • Vulnerable range: <= 2026.2.23
  • Patched in planned next release: 2026.2.24

Fix Commit(s)

  • 9514201fb9b51de5d0b23151110d0ff5d9c8bd67

Technical Details

The Telegram handler flow now enforces DM authorization before media download/write paths execute, including media-group handling. Inbound channel activity tracking was also moved to run after DM authorization in the Telegram message context path.

Release Process Note

patched_versions is pre-set to the planned next release (2026.2.24). After npm publish, the advisory can be published without further version-field edits.

OpenClaw thanks @v8hid for reporting.

Publication Update (2026-02-25)

[email protected] is published on npm and contains the fix commit(s) listed above. This advisory now marks >= 2026.2.24 as patched.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2026-03-03 19:08:30 UTC
Updated
2026-03-03 19:08:33 UTC
GitHub reviewed
2026-03-03 19:08:30 UTC

CVSS Scores

No CVSS scores in this advisory.

Identifiers

Type Value
GHSA GHSA-h656-5vcf-cm23 ↗

CWEs

CWE id Name
CWE-208 Observable Timing Discrepancy
CWE-404 Improper Resource Shutdown or Release
CWE-406 Insufficient Control of Network Message Volume (Network Amplification)
CWE-770 Allocation of Resources Without Limits or Throttling

Credits

  • v8hid (reporter)

Affected packages (1)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
npm openclaw <= 2026.2.23 2026.2.24

References

cvelogic Threat Intelligence