Skip to content
MediumVulnerability

GHSA-68f8-9mhj-h2mp: OpenClaw has a Gateway HTTP /v1/models Route Bypasses Operator Read Scope

Published
Record updated
View JSON
Affected
  • openclaw <= 2026.3.23
Fixed in
2026.3.24
  • released March 25, 2026, 5 days before disclosure

Summary

OpenClaw's OpenAI-compatible HTTP endpoint `/v1/models` accepts bearer auth but does not enforce operator method scopes, while the WebSocket RPC path enforces `operator.read` for `models.list`. A caller holding only `operator.approvals` is rejected over WS with `missing scope: operator.read` but still receives model metadata with status 200 over HTTP `/v1/models`.

Mitigation

Fixed in OpenClaw 2026.3.24. The source also suggests enforcing a read-scope gate on `/v1/models` and `/v1/models/:id`, reusing `authorizeOperatorScopesForMethod(...)` for HTTP compatibility endpoints, and adding regression tests.