Skip to content
HighVulnerability

GHSA-jccr-rrw2-vc8h: OpenClaw safeBins jq `$ENV` filter bypass allows environment variable disclosure

Published
Record updated
View JSON
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`).