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

GHSA-jr6x-2q95-fh2g: OpenClaw's authorization mismatch allowed write-scope agent runs to reach owner-only tools

highCVSS 4.0 8.7

In OpenClaw 2026.2.26 and earlier, a caller whose token has only `operator.write` scope could start `agent` runs that reach the owner-only `gateway` and `cron` tools. That lets a write-scoped token perform control-plane actions. Fixed in 2026.3.1.

Published Mar 2, 2026 · Analysis Oct 31, 2026

What an attacker can do

OpenClaw deployments can issue scoped tokens. The gateway and cron tool surfaces are meant to be owner-only. Tool scope classification and the owner-only gating did not agree during agent execution, so a write-scoped caller could ask an agent run to use those tools. The agent ran with the tools the owner scope should have guarded.

The gateway tool controls the gateway itself, and cron creates scheduled jobs that persist. A write-scoped token holder can therefore change gateway configuration and plant recurring tasks, which goes beyond what the token was meant to allow. The attacker must be authenticated with an operator.write token in a scoped-token deployment. The advisory scores high integrity impact and no confidentiality or availability impact, and gives no exploit detail beyond the scope mismatch.

Who is affected

The openclaw npm package at 2026.2.26 and earlier (everything below 2026.3.1), in deployments that issue scoped tokens such as operator.write. Deployments with a single owner token and no scoped callers have little to gain from this. Check the version:

npm ls -g openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
< 2026.3.1
Fixed in
2026.3.1
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.1.

npm install -g [email protected]

The fix enforces owner-only gating consistently for the owner-only tool surfaces during agent execution and tightens tool scope classification to remove the privilege mismatch. The advisory names no workaround. Until you upgrade, avoid handing operator.write tokens to callers you do not fully trust.

How to tell if you were hit

Review the gateway configuration and the cron job list for entries you did not create, especially ones added by a client that holds only a write token. Check logs for agent runs started with a write-scoped token that call the gateway or cron tools. Rotate tokens if you find unexpected changes.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

An authorization mismatch allowed authenticated callers with operator.write access to invoke owner-only tool surfaces (gateway, cron) through agent runs in scoped-token deployments.

Impact

On affected deployments, write-scoped callers could perform control-plane actions beyond intended write scope.

Fix

Owner-only gating is now enforced consistently for owner-only tool surfaces during agent execution, and tool scope classification was tightened to remove the privilege mismatch.

Affected and Patched Versions

  • Affected: <= 2026.2.26
  • Patched: 2026.3.1

Credited to tdjackey.

Questions

Who can exploit GHSA-jr6x-2q95-fh2g?

An authenticated caller with operator.write access in a scoped-token deployment. It is not an unauthenticated flaw, but write scope should not have reached owner-only tools.

What is the fixed version?

OpenClaw 2026.3.1. Versions up to 2026.2.26 are affected.

Which tools were reachable?

The owner-only gateway and cron tool surfaces, reached through agent runs.

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