CVE-2026-88624

openCode · openCode

A missing path validation flaw in openCode v1.18.26 allows unauthenticated attackers to trigger arbitrary recursive directory deletion.

Executive summary

A critical vulnerability in openCode v1.18.26 allows unauthenticated attackers to perform unauthorized recursive directory deletion, posing a severe risk to system integrity and availability.

Vulnerability

This vulnerability involves a lack of path validation within the Worktree.remove component, which enables an unauthenticated attacker to manipulate file system operations. By submitting a crafted payload, an attacker can force the application to perform recursive deletions of arbitrary directories.

Business impact

The ability for an unauthenticated actor to delete critical directory structures on a host system represents a catastrophic risk to data availability and service continuity. With a CVSS score of 9.1, this flaw is categorized as critical, as it allows for significant destruction of system or application data without requiring any prior authentication or user interaction.

Remediation

Immediate Action: Since a specific patch is not currently identified, administrators should restrict network access to the affected openCode component and monitor the environment for unauthorized file system activity.

Proactive Monitoring: Security teams should implement file integrity monitoring (FIM) to detect unexpected recursive directory deletions and review application logs for anomalous requests directed at the Worktree component.

Compensating Controls: Deploy a Web Application Firewall (WAF) rule to inspect and block requests containing path traversal characters or suspicious patterns targeting the Worktree.remove endpoint.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

Given the critical severity and the potential for total data loss, organizations utilizing openCode v1.18.26 must prioritize this vulnerability. Until a vendor-supplied patch is released, ensure that the application is isolated from public-facing networks and apply strict access controls to prevent exploitation of the Worktree component.

More openCode CVEs

History

CVE Brief tracked this CVE 1 day before it had a CVSS score.

  1. Disclosed CVE record published
  2. Collected by CVE Brief No CVSS score yet; tracked as early warning
  3. CVSS score assigned 9.1 (3.1) from cvelistV5
  4. Analyst report written

Sources