All reports
High

OpenClaw has a gateway exec allowlist allow-always bypass via unregistered /usr/bin/script wrapper

Affected versions

Affected versions
<= 2026.3.24
Fixed version
2026.3.28

Exploitation

CVE-2026-41390

Probability of exploitation in the next 30 days: 0.12%

FIRST EPSS · 2026-11-21

Description

Summary

Allow-always persistence did not unwrap /usr/bin/script and similar wrappers to the actual executed target before storing trust decisions.

Impact

A user approval for one wrapped command could persist trust for a wrapper binary that later executed a different underlying program.

Affected Component

src/infra/dispatch-wrapper-resolution.ts, src/infra/exec-wrapper-resolution.ts

Fixed Versions

  • Affected: <= 2026.3.24

  • Patched: >= 2026.3.28

  • Latest stable 2026.3.28 contains the fix.

Fix

Fixed by commit 83da3cfe31 (infra: unwrap script wrapper approval targets).

Links

Credits

  • LonggTeng