GHSA-fwjq-xwfj-gv75: OpenClaw: `session_status` still bypasses configured `tools.sessions.visibility` for unsandboxed invocations
In OpenClaw 2026.3.28 and earlier, the session_status tool skips the tools.sessions.visibility setting for unsandboxed callers. An agent set to see only its own session can still read, and update, the status of other sessions of the same agent. Upgrade to 2026.3.31.
Published Apr 7, 2026 · Analysis Oct 30, 2026
What an attacker can do
The tools.sessions.visibility setting limits which sessions an agent's tools may see; self restricts a session to itself. The session_status tool in src/agents/tools/session-status-tool.ts ran the visibility guard only when the target was resolved by session ID, or when the caller was sandboxed without an explicit agent key. A normal unsandboxed caller skipped it.
The fix commit includes a test that shows the gap: an unsandboxed caller in a subagent session asks for the bare main key with visibility set to self. Before the fix the call went through, and the session store could be updated. After the fix it is rejected with an error that visibility is restricted to the current session.
The maintainers call it a same-agent session-policy bypass, not a break of the host boundary. Complexity is high and the confidentiality impact is low in the CVSS vector. The affected group is teams that run subagents or several sessions and rely on visibility to keep their state apart, for example a restricted subagent that should not see the main session's status.
Who is affected
openclaw on npm, version 2026.3.28 and earlier, with tools.sessions.visibility set to a restricted value and agents running unsandboxed. Check the installed version:
npm ls openclawUse npm ls -g openclaw for a global install.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.28
- Fixed in
- 2026.3.31
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.31 or later, the first stable tag with the fix:
npm install [email protected]Commit 4d369a3400dc9b737fbe8daa63f09d909ce7beb8 makes the visibility check run for every caller of session_status. Requests for the caller's own session, written as current or matching the resolved key, count as self. The advisory lists no workaround.
How to tell if you were hit
Look in agent logs for session_status calls from restricted or subagent sessions that name another session key, such as main. Check the session store for status updates written by sessions that should not have touched those keys. After upgrading, the refusal reads that visibility is restricted to the current session. Beam logs the MCP and tool calls an agent makes, which can show such session_status requests.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
session_status still bypasses configured tools.sessions.visibility for unsandboxed invocations
Current Maintainer Triage
- Status: narrow
- Normalized severity: medium
- Assessment: Real on shipped v2026.3.22: non-sandboxed session_status skipped the shared visibility guard, but this is a same-agent session-policy bypass with unreleased fix, not a broader host-boundary break.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published npm version:
2026.3.31 - Vulnerable version range:
<=2026.3.28 - Patched versions:
>= 2026.3.31 - First stable tag containing the fix:
v2026.3.31
Fix Commit(s)
4d369a3400dc9b737fbe8daa63f09d909ce7beb8— 2026-03-30T16:48:12+02:00
Release Process Note
- The fix is already present in released version
2026.3.31. - This draft looks ready for final maintainer disposition or publication, not additional code-fix work.
Thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- Which OpenClaw version fixes this session_status flaw?
2026.3.31 is the first stable tag with the fix. Versions up to and including 2026.3.28 are affected.
- Does it let one agent read another agent's data?
The maintainers describe a same-agent session-policy bypass, not a broader host-boundary break. It lets a session see or update sessions its visibility setting should hide.
- Does the entry have a CVE?
No CVE id is listed. It is tracked as GHSA-fwjq-xwfj-gv75.
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 entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
