CVE-2026-27004: Openclaw OpenClaw Session Tool Visibility Hardening Vulnerability

MODERATE
Advisory Identifier: GHSA-6hf3-mhgc-cm65
CWE-209 CWE-346
Published
Advisory Summary

CVE-2026-27004 is a MODERATE openclaw session tool visibility hardening vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Openclaw libraries in the npm ecosystem. The issue involves openclaw session tool visibility hardening and telegram webhook secret fallback. Remediation is available by upgrading affected packages to version 2026.2.15.

CVE-2026-27004 at a Glance

CVE Identifier CVE-2026-27004
GHSA Identifier GHSA-6hf3-mhgc-cm65
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Openclaw
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-27004

To remediate this vulnerability, upgrade all affected Openclaw dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

openclaw fixed: 2026.2.15
npm install openclaw@2026.2.15
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls openclaw

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-27004, inspect your project dependencies using npm:

npm ls openclaw

Analyze the terminal output to locate any version of Openclaw in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.2.15), your application is affected.

Note: The npm ls openclaw command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Openclaw, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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 to `tree`. - 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.

CVE-2026-27004 Affected Openclaw Versions

1 component(s)
Fixed Versions:
2026.2.15
Product / Package Ecosystem Affected Versions Fixed Version
openclaw
npm
< 2026.2.15
2026.2.15

References

Frequently Asked Questions

What is CVE-2026-27004?
CVE-2026-27004 is a security vulnerability in Openclaw involving OpenClaw session tool visibility hardening and Telegram webhook secret fallback under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Openclaw versions are affected?
Affected versions include releases prior to 2026.2.15 across affected packages: openclaw.
What version fixes CVE-2026-27004?
Upgrading to 2026.2.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openclaw affected?
Yes, openclaw is affected in releases prior to 2026.2.15. Upgrade your dependency to 2026.2.15 or later.
What CWE is associated with CVE-2026-27004?
CVE-2026-27004 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check npm dependencies for CVE-2026-27004?
Run the dependency tree command: 'npm ls openclaw'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6hf3-mhgc-cm65",
  "modified" : "2026-02-20T16:47:17Z",
  "published" : "2026-02-18T22:43:53Z",
  "aliases" : [ "CVE-2026-27004" ],
  "summary" : "OpenClaw session tool visibility hardening and Telegram webhook secret fallback",
  "details" : "## Vulnerability\n\nIn 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.\n\nIn Telegram webhook mode, monitor startup also did not fall back to per-account `webhookSecret` when only the account-level secret was configured.\n\n## Typical Use Case Context\n\nMost regular OpenClaw deployments run a single agent, or run in trusted environments. In those setups, practical risk from this issue is generally low.\n\n## Impact\n\n- Shared-agent, multi-user, less-trusted environments: session-tool access could expose transcript content across peer sessions.\n- Single-agent or trusted environments: practical impact is limited.\n- Telegram webhook mode: account-level secret wiring could be missed unless an explicit monitor webhook secret override was provided.\n\n## Affected Packages / Versions\n\n- Package: npm `openclaw`\n- Affected versions: `<= 2026.2.14`\n- Patched version: `2026.2.15` (planned next release)\n\n## Remediation\n\n- Add and enforce `tools.sessions.visibility` (`self | tree | agent | all`) across session tools, defaulting to `tree`.\n- Keep sandbox clamping behavior so sandboxed runs can be restricted to spawned/session-tree visibility.\n- Resolve Telegram webhook secret from account config fallback in monitor webhook startup.\n\n## Fix Commit(s)\n\n- `c6c53437f7da033b94a01d492e904974e7bda74c`\n\nThanks @aether-ai-agent for reporting.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "openclaw"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2026.2.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/security/advisories/GHSA-6hf3-mhgc-cm65"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27004"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/commit/c6c53437f7da033b94a01d492e904974e7bda74c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openclaw/openclaw"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-209", "CWE-346" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-18T22:43:53Z",
    "nvd_published_at" : "2026-02-20T00:16:17Z"
  }
}