MediumVulnerability
GHSA-68f8-9mhj-h2mp: OpenClaw has a Gateway HTTP /v1/models Route Bypasses Operator Read Scope
- Identifier
- GHSA-68f8-9mhj-h2mp
- Published
- Record updated
- 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.
Related items
- CriticalGHSA-9x8x-crjq-g64h: Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesSimilar attack · GitHub Advisory Database
- HighGHSA-24pw-rf5p-mgp7: Jupyter MCP Server: Unauthenticated management routes can hijack the Jupyter backend in standalone HTTP modeSimilar attack · GitHub Advisory Database
- HighGHSA-m932-63jc-4jqq: k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool executionSimilar attack · GitHub Advisory Database
- HighGHSA-3mgh-93r5-r7jf: CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCESimilar attack · GitHub Advisory Database
- HighGHSA-qx49-fqc8-xw99: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverSimilar attack · GitHub Advisory Database