OpenClaw < 2026.3.28 - Environment Variable Disclosure via jq $ENV Filter Bypass
cve-program · CVE-2026-41368
PublishedOpenClaw before 2026.3.28 contains an environment variable disclosure vulnerability in the jq safe-bin policy that fails to block the $ENV filter. Attackers can bypass safe-bin restrictions by using $ENV in jq programs to access sensitive environment variables that should be restricted.
Read the publisher's advisoryeuvd · EUVD-2026-25948
PublishedOpenClaw before 2026.3.28 contains an environment variable disclosure vulnerability in the jq safe-bin policy that fails to block the $ENV filter. Attackers can bypass safe-bin restrictions by using $ENV in jq programs to access sensitive environment variables that should be restricted.
Read the publisher's advisorynvd · CVE-2026-41368
PublishedOpenClaw before 2026.3.28 contains an environment variable disclosure vulnerability in the jq safe-bin policy that fails to block the $ENV filter. Attackers can bypass safe-bin restrictions by using $ENV in jq programs to access sensitive environment variables that should be restricted.
Read the publisher's advisoryosv · GHSA-jccr-rrw2-vc8h
Published## Summary The jq safe-bin policy blocked explicit `env` usage but still allowed jq programs that accessed environment data through `$ENV`. ## Impact An operator-approved safe-bin jq command could disclose environment variables that the safe-bin policy was supposed to keep out of scope. ## Affected Component `src/infra/exec-safe-bin-semantics.ts` ## Fixed Versions - Affected: `<= 2026.3.24` - Patched: `>= 2026.3.28` - Latest stable `2026.3.28` contains the fix. ## Fix Fixed by commit `78e2f3d66d` (`Exec: tighten jq safe-bin env checks`). Thanks @nicky-cc of Tencent zhuque Lab ([https://github.com/Tencent/AI-Infra-Guard](https://github.com/Tencent/AI-Infra-Guard)) for reporting.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-41368 · CVE overview and exploitation status
cve-program · CVE-2026-41368
- https://github.com/openclaw/openclaw/security/advisories/GHSA-jccr-rrw2-vc8h
- https://www.vulncheck.com/advisories/openclaw-environment-variable-disclosure-via-jq-env-filter-bypass
euvd · EUVD-2026-25948
- https://github.com/openclaw/openclaw/security/advisories/GHSA-jccr-rrw2-vc8h
- https://www.vulncheck.com/advisories/openclaw-environment-variable-disclosure-via-jq-env-filter-bypass
nvd · CVE-2026-41368
- https://github.com/openclaw/openclaw/security/advisories/GHSA-jccr-rrw2-vc8h
- https://www.vulncheck.com/advisories/openclaw-environment-variable-disclosure-via-jq-env-filter-bypass
osv · GHSA-jccr-rrw2-vc8h
Related changes
Linked by CVE identifierNo related changes are available here.