HighVulnerability
GHSA-jccr-rrw2-vc8h: OpenClaw safeBins jq `$ENV` filter bypass allows environment variable disclosure
- Identifier
- GHSA-jccr-rrw2-vc8h
- Published
- Record updated
- Affected
- openclaw <= 2026.3.24
- Fixed in
- 2026.3.28
- released March 28, 2026, 2 days before disclosure
Summary
OpenClaw's safe-bin policy for jq blocked explicit `env` usage but still allowed jq programs to read environment data through `$ENV`. An operator-approved safe-bin jq command could therefore disclose environment variables that the policy was meant to keep out of scope. Affected versions are `<= 2026.3.24`, and the flaw sits in `src/infra/exec-safe-bin-semantics.ts`.
Mitigation
Fixed in 2026.3.28 (patched in `>= 2026.3.28`) by commit `78e2f3d66d` (`Exec: tighten jq safe-bin env checks`).
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