{
  "id": "CVE-2026-35570",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-35570",
  "published_at": "2026-04-20T23:24:08.324Z",
  "title": "OpenClaude has Sandbox Bypass via Early-Exit Logic Flaw that Allows Path Traversal",
  "vendor": "Gitlawb",
  "product": "openclaude",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:gitlawb:openclaude:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [
    {
      "repo": "Rickidevs/CVE-2026-35570",
      "url": "https://github.com/Rickidevs/CVE-2026-35570",
      "created_at": "2026-04-04T11:15:05Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-02-23T19:45:07Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Gitlawb",
        "product": "openclaude",
        "ranges": [
          "\u003c 0.5.1"
        ],
        "fixed_in": [
          "0.5.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openclaude to 0.5.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Gitlawb/openclaude/commit/7002cb302b78ea2a19da3f26226de24e2903fa1d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
