/

CVE-2026-100578

Severity:

HIGH RISK

(7.6)

Improper Privilege Management (CWE-269) in OpenClaw

CVE-2026-100578

Deferred

Vulnerability type

Category:

Improper Privilege Management

CWE:

CWE-269

Impact:

Unauthorized privileged operations and persistent configuration changes

Severity:

HIGH RISK

(7.6)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

OpenClaw may expose owner-only infrastructure tools to authenticated, write-scoped non-owner callers through the chat.send endpoint in certain identity-aware Gateway deployments. If the model invokes those tools and the caller can influence the chat turn, the caller may cause unauthorized configuration or scheduling changes, including persistent state modifications.

Affected context

The issue occurs in OpenClaw Gateway deployments that honor caller identity and apply narrower operator scopes. In this context, a non-owner caller with write access to chat.send may receive an agent tool inventory containing the owner-only gateway and cron tools. Shared-secret token and password callers are treated as fully trusted operators under the product's security model and are outside the described issue scope.

Exploit preconditions

  • Attack surface: The authenticated chat.send endpoint in an OpenClaw Gateway deployment
  • Required access: A non-owner identity-bearing caller with write-scoped access to chat.send
  • Trigger point: Starting a chat turn for which the agent can access the gateway or cron tools
  • Why exploitation is possible: Tool exposure is not sufficiently restricted by the caller's owner or operator privileges, allowing the model to perform operations intended only for owners
  • Additional dependency: Practical impact depends on the model selecting a privileged tool and the caller being able to steer the conversation

Why this happens

The underlying bug is a failure to enforce authorization at the boundary between caller identity and agent tool availability. Owner-only infrastructure capabilities are included in a non-owner caller's tool inventory despite narrower operator scope, allowing an otherwise authorized request to reach privileged operations. This maps to CWE-269: Improper Privilege Management, because the system does not consistently maintain privilege boundaries when delegating actions through the chat agent.

Potential impact

  • A non-owner caller may perform unauthorized Gateway configuration changes
  • A caller could schedule, modify, or remove cron-based operations
  • Persistent application state may be altered without owner authorization
  • Operational behavior or automation could be disrupted
  • Security controls or deployment settings could be weakened

General mitigation guidance

Mitigation generally focuses on enforcing authorization before capabilities are exposed or executed.

Common defensive patterns include:

  • Restricting chat.send to administrators in identity-bearing deployments
  • Removing gateway and cron from agent tool policies for non-owner contexts
  • Deriving tool inventories from the authenticated caller's effective privileges
  • Applying authorization checks again at each privileged tool execution boundary
  • Treating privileged configuration and scheduling actions as deny-by-default
  • Separating trusted operator credentials from narrower identity-based permissions
  • Running agents with the minimum operational authority required for their tasks

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and code review checks comparing endpoint authorization with tool-registration logic
  • Tests that exercise every supported caller role against the complete agent tool inventory
  • Policy checks ensuring owner-only tools are excluded from non-owner sessions
  • Audit-log monitoring for privileged gateway or cron actions initiated by non-owner identities
  • Alerts for persistent configuration or scheduling changes that lack owner authorization

Automated application-security review tools may help identify inconsistent privilege checks across API and tool-execution layers.

Sources

SourceLink
github.comgithub.com/openclaw/openclaw/security/advisories/GHSA-qw7m-h363-33qw
vulncheck.comvulncheck.com/advisories/openclaw-before-2026.7.1-authorization-bypass-via-chat-send

Frequently asked

questions

It can be exploitable through the Gateway's chat.send endpoint when the deployment uses identity-aware authentication and exposes the affected tools to a non-owner caller.

The caller generally needs authenticated, write-scoped access to chat.send without being an owner. Shared-secret token and password callers are considered fully trusted operators and are outside the described scope.

Enforce authorization based on the caller's effective identity and exclude owner-only tools from non-owner agent policies. Privileged operations should also perform independent checks at execution time.

Maintain deny-by-default tool policies, test authorization across all caller roles, monitor privileged actions, and ensure API permissions and agent capabilities are derived from the same identity and scope model.

Find out what's already
exploitable in your codebase.