ADVISORIES

GitHub Advisory Database

GHSA-v8wv-jg3q-qwpq

OpenClaw's message tool media parameter bypasses tool policy filesystem isolation

Details

Summary

The message tool accepted mediaUrl and fileUrl aliases without applying the same sandbox localRoots validation as the canonical media path handling.

Impact

A caller constrained to sandbox media roots could read arbitrary local files by routing them through the alias parameters.

Affected Component

src/infra/outbound/message-action-params.ts, src/infra/outbound/message-action-runner.ts

Fixed Versions

  • Affected: < 2026.3.24
  • Patched: >= 2026.3.24
  • Latest stable 2026.3.28 contains the fix.

Fix

Fixed by commit 1d7cb6fc03 (fix: close sandbox media root bypass for mediaUrl/fileUrl aliases).

OpenClaw thanks @AntAISecurityLab for reporting.

Affected packages

EcosystemPackageAffected versions
npmopenclaw
All versions before 2026.3.24 (fixed in 2026.3.24)

References