{"cve":"CVE-2026-35570","nvd":{"published":"2026-04-21T00:16:28.877","modified":"2026-10-26T21:10:00.170","status":"Analyzed","description":"OpenClaude is an open-source coding-agent command line interface for cloud and local model providers. Versions prior to 0.5.1 have a logic flaw in `bashToolHasPermission()` inside `src/tools/BashTool/bashPermissions.ts`. When the sandbox auto-allow feature is active and no explicit deny rule is configured, the function returns an `allow` result immediately — before the path constraint filter (`checkPathConstraints`) is ever evaluated. This allows commands containing path traversal sequences (e.g., `../../../../../etc/passwd`) to bypass directory restrictions entirely. Version 0.5.1 contains a patch for the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.4},"cwes":["CWE-22","CWE-284"],"references":["https://github.com/Gitlawb/openclaude/commit/7002cb302b78ea2a19da3f26226de24e2903fa1d","https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73","https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73"],"products":["gitlawb:openclaude"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-35570","score":0.00232,"percentile":0.13954,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-m6rx-7pvw-2f73","url":"https://osv.dev/vulnerability/GHSA-m6rx-7pvw-2f73","summary":"OpenClaude: Sandbox Bypass via Early-Exit Logic Flaw Allows Path Traversal ","modified":"2026-04-21T15:56:31.384480Z","packages":[{"ecosystem":"npm","name":"@gitlawb/openclaude","purl":"pkg:npm/%40gitlawb/openclaude","ranges":["<0.5.1"],"fixed":["0.5.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}