Vulnerabilities/

OpenClaude: Sandbox Bypass via Early-Exit Logic Flaw Allows Path Traversal

Severity:
High

Description

A logic flaw exists 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.

Recommendation

Update the @gitlawb/openclaude package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@gitlawb/openclaude
Anything's wrong? Let us know Last updated on April 21, 2026