GHSA-jccr-rrw2-vc8h

Suggest an improvement
Source
https://github.com/advisories/GHSA-jccr-rrw2-vc8h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-jccr-rrw2-vc8h/GHSA-jccr-rrw2-vc8h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jccr-rrw2-vc8h
Aliases
Downstream
Published
2026-03-31T23:56:13Z
Modified
2026-07-08T07:23:52Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
OpenClaw safeBins jq `$ENV` filter bypass allows environment variable disclosure
Details

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) for reporting.

Database specific
{
    "cwe_ids":  [
        "CWE-185",
        "CWE-200"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-31T23:56:13Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2026.3.28

Database specific

last_known_affected_version_range
"<= 2026.3.24"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-jccr-rrw2-vc8h/GHSA-jccr-rrw2-vc8h.json"