NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-jf56-mccx-5f3f: OpenClaw: Authenticated `/hooks/wake` and mapped `wake` payloads are promoted into the trusted `System:` prompt channel

highCVSS 4.0 8.5

In OpenClaw 2026.4.2 and earlier, an authenticated call to `/hooks/wake`, or a mapped `wake` payload, is promoted into the trusted `System:` prompt channel instead of being treated as an untrusted event. Whoever can send wake payloads can write instructions the agent trusts as system messages. The npm package `openclaw` is fixed in 2026.4.8.

Published Apr 9, 2026 · Analysis Oct 30, 2026

What an attacker can do

OpenClaw has a hooks endpoint, /hooks/wake, that wakes the agent with an event. Events in the System: channel carry the highest trust in the prompt, so the model follows them like operator instructions. In affected versions the wake payload text landed in that channel (CWE-501, trust boundary violation) rather than in an untrusted event.

The caller must be authenticated. But the payload can be built from outside sources: a webhook mapping that forwards content from another system, such as a message, ticket or email, turns that content into a trusted system instruction. The CVSS 4.0 vector is local, low privilege, no user interaction, with high impact on confidentiality, integrity and availability, because the agent acts with the user's rights on commands and files.

The advisory does not detail the code path. It scopes OpenClaw as a user-controlled local assistant, not a multi-tenant service.

Who is affected

The npm package openclaw at 2026.4.2 and earlier. The risk applies to installs that enable the hooks endpoint or map wake payloads.

npm ls openclaw

For a global install use npm ls -g openclaw.

openclaw

Ecosystem
npm
Affected
<= 2026.4.2
Fixed in
2026.4.8
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.4.8.

npm install -g [email protected]

The verified fixed tree is commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5. The advisory gives no workaround. Until you upgrade, review which systems can reach /hooks/wake and which hook mappings forward third-party content, and disable ones you do not need.

How to tell if you were hit

The advisory gives no log lines. Check access logs for requests to /hooks/wake and compare them with your own automation. Review agent transcripts for System: messages whose text looks like instructions and trace them to a wake call. Beam records agent shell commands, file access and MCP tool calls, and its rules flag risky ones, which helps check what an agent did after a wake event.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

Authenticated /hooks/wake and mapped wake payloads are promoted into the trusted System: prompt channel.

An authenticated wake hook or mapped wake payload could be promoted into the trusted System prompt channel instead of an untrusted event.

OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.4.2
  • Patched versions: 2026.4.8

Fix

The issue was fixed on main and is available in the patched npm version listed above. The verified fixed tree is commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5.

Verification

The fix was re-checked against main before publication, including targeted regression tests for the affected security boundary.

Credits

Thanks @tdjackey for reporting.

Credited to tdjackey.

Questions

Does GHSA-jf56-mccx-5f3f need authentication?

Yes. The wake request must be authenticated. The flaw is that its content is then treated as trusted system text rather than an untrusted event.

Which OpenClaw version fixes GHSA-jf56-mccx-5f3f?

2026.4.8. Versions up to and including 2026.4.2 are listed as affected.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries