CVE-2026-27004: OpenClaw session tool visibility hardening and Telegram webhook secret fallback
OpenClaw's session tools (`sessions_list`, `sessions_history`, `sessions_send`) could target more sessions than operators intended, which can expose transcripts across peers in shared-agent setups. Telegram webhook mode also ignored the per-account `webhookSecret`. Versions up to 2026.2.14 are affected. Fixed in 2026.2.15.
Published Feb 18, 2026 · Updated Feb 20, 2026 · Analysis Nov 1, 2026
What an attacker can do
Before the fix there was no visibility limit on the three session tools. An agent, or a user driving one, could list sessions, read their history or send messages into sessions beyond its own. In a deployment where several users or peers share an agent and are not equally trusted, that can expose one person's transcript to another. The advisory stresses this is mostly a scoping issue: single-agent or trusted setups carry little practical risk.
The second part is in Telegram webhook mode. Monitor startup did not fall back to the account-level webhookSecret. Unless an explicit monitor webhook secret override was set, the account secret was not wired in, so the webhook may have run without the secret you configured.
The score of 6.9 is driven by confidentiality. An attacker needs no special privileges beyond access to a session on the shared agent. The Telegram gap needs the deployment to use webhook mode with only the account-level secret.
Who is affected
The openclaw npm package up to and including 2026.2.14. The session-tool issue matters in multi-user or shared-agent deployments. The webhook issue matters only if you run Telegram in webhook mode and set webhookSecret on the account rather than via a monitor override. Check the version:
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- < 2026.2.15
- Fixed in
- 2026.2.15
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.15 or later.
npm install -g [email protected]The fix adds tools.sessions.visibility with values self, tree, agent and all, and the default is tree: the current session and the sessions it spawned. Existing setups that relied on wider access will see a behavior change and must set agent or all; cross-agent targeting still needs tools.agentToAgent. Sandboxed sessions with agents.defaults.sandbox.sessionToolsVisibility set to "spawned" are forced to tree. Telegram webhook startup now uses the per-account secret when no override is given.
How to tell if you were hit
Check your configuration for tools.sessions.visibility; on 2026.2.14 and earlier it does not exist. Review session logs for sessions_history or sessions_send calls that target sessions outside the caller's own tree. For Telegram, confirm in webhook mode whether requests are verified against your secret, by sending a test request without the header. Beam records agent MCP tool calls and shell commands, which helps trace what an agent read.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Vulnerability
In some shared-agent deployments, OpenClaw session tools (sessions_list, sessions_history, sessions_send) allowed broader session targeting than some operators intended. This is primarily a configuration/visibility-scoping issue in multi-user environments where peers are not equally trusted.
In Telegram webhook mode, monitor startup also did not fall back to per-account webhookSecret when only the account-level secret was configured.
Typical Use Case Context
Most regular OpenClaw deployments run a single agent, or run in trusted environments. In those setups, practical risk from this issue is generally low.
Impact
- Shared-agent, multi-user, less-trusted environments: session-tool access could expose transcript content across peer sessions.
- Single-agent or trusted environments: practical impact is limited.
- Telegram webhook mode: account-level secret wiring could be missed unless an explicit monitor webhook secret override was provided.
Affected Packages / Versions
- Package: npm
openclaw - Affected versions:
<= 2026.2.14 - Patched version:
2026.2.15(planned next release)
Remediation
- Add and enforce
tools.sessions.visibility(self | tree | agent | all) across session tools, defaulting totree. - Keep sandbox clamping behavior so sandboxed runs can be restricted to spawned/session-tree visibility.
- Resolve Telegram webhook secret from account config fallback in monitor webhook startup.
Fix Commit(s)
c6c53437f7da033b94a01d492e904974e7bda74c
Thanks @aether-ai-agent for reporting.
Credited to aether-ai-agent.
Questions
- Does CVE-2026-27004 matter for a single-agent setup?
The advisory says practical impact is limited in single-agent or trusted environments. The risk is shared-agent, multi-user deployments where peers are not equally trusted.
- What changes after upgrading to 2026.2.15?
Session tools default to
tools.sessions.visibility: tree. If you relied on broader reach, setagentorallexplicitly.- What was wrong with the Telegram webhook?
Monitor startup did not fall back to the per-account
webhookSecretunless an explicit monitor override was given. The patch adds the fallback.- Is it exploited in the wild?
No source says so, and it is not in CISA's KEV catalog.
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
