CVE Explorer
CVE-2026-35570
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-284","description":"CWE-284: Improper Access Control","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"openclaude","vendor":"Gitlawb","versions":[{"status":"affected","version":"< 0.5.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":8.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-284","description":"CWE-284: Improper Access Control","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/Gitlawb/openclaude/commit/7002cb302b78ea2a19da3f26226de24e2903fa1d","tags":["x_refsource_MISC"],"url":"https://github.com/Gitlawb/openclaude/commit/7002cb302b78ea2a19da3f26226de24e2903fa1d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/adp/0/references/0
{"name":"https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2b3557e010e4295a237143b6b9f4924ba0aad8c736a4a277351a6dc806a294db · sha256:d3cedbd0acf86425… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.