{"id":"CVE-2026-41368","aliases":["CVE-2026-41368","GHSA-jccr-rrw2-vc8h"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.3.28 - Environment Variable Disclosure via jq $ENV Filter Bypass","summary":"OpenClaw 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw 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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe jq safe-bin policy blocked explicit `env` usage but still allowed jq programs that accessed environment data through `$ENV`.\n\n## Impact\n\nAn operator-approved safe-bin jq command could disclose environment variables that the safe-bin policy was supposed to keep out of scope.\n\n## Affected Component\n\n`src/infra/exec-safe-bin-semantics.ts`\n\n## Fixed Versions\n\n- Affected: `<= 2026.3.24`\n- Patched: `>= 2026.3.28`\n- Latest stable `2026.3.28` contains the fix.\n\n## Fix\n\nFixed by commit `78e2f3d66d` (`Exec: tighten jq safe-bin env checks`).\n\nThanks @nicky-cc  of Tencent zhuque Lab ([https://github.com/Tencent/AI-Infra-Guard](https://github.com/Tencent/AI-Infra-Guard)) for reporting.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.3.28 contiene una vulnerabilidad de divulgación de variables de entorno en la política safe-bin de jq que no bloquea el filtro $ENV. Los atacantes pueden eludir las restricciones de safe-bin al usar $ENV en programas jq para acceder a variables de entorno sensibles que deberían estar restringidas.","source":"nvd"}],"published":"2026-03-31T23:56:13.000Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-185","CWE-200","CWE-668"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.3.28","status":"affected"},{"type":"semver","version":"2026.3.28","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.3.28"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.3.28"}],"vendor":"openclaw","product":"openclaw","cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-jccr-rrw2-vc8h","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-environment-variable-disclosure-via-jq-env-filter-bypass","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/78e2f3d66d74e5c7e6f45c54162e63986e39771b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["Nicky (@nicky-cc)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-28T12:43:06.751Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41368","url":"https://www.cve.org/CVERecord?id=CVE-2026-41368","licence":"CVE Terms of Use","modified":"2026-04-28T12:43:15.455Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jccr-rrw2-vc8h","url":"https://github.com/advisories/GHSA-jccr-rrw2-vc8h","licence":"CC-BY-4.0","modified":"2026-07-08T07:23:52.852Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41368","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41368","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:19.821Z","epss":{"score":0.00248,"percentile":0.17167,"date":"2026-12-02T12:00:21.000Z"}}