CVE-2026-88624
Received Received - Intake

Path Traversal in openCode Worktree.remove Component

Vulnerability report for CVE-2026-88624, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-22

Last updated on: 2026-09-22

Assigner: MITRE

Description

Missing path validation in the Worktree.remove component of openCode v1.18.26 allows attackers to execute arbitrary recursive directory deletion via a crafted payload.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-22
Last Modified
2026-09-22
Generated
2026-09-23
AI Q&A
2026-09-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
myselfyangjz opencode to 1.18.26 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Missing path validation in the Worktree.remove component of openCode v1.18.26 allows attackers to execute arbitrary recursive directory deletion via a crafted payload. The DELETE /experimental/worktree endpoint fails to validate caller-supplied directory paths, leading to unintended recursive deletion of any writable directory on the filesystem.

Detection Guidance

To detect this vulnerability, check if your openCode instance is running version 1.18.26 or earlier. Inspect server logs for suspicious DELETE requests to /experimental/worktree with non-registered directory paths. Monitor for unexpected directory deletions or recursive file removal operations.

Impact Analysis

This vulnerability allows any authenticated API caller to delete any writable directory on the filesystem, including unrelated repositories, home directories, and critical files like SSH keys. This can result in complete data loss and system compromise.

Compliance Impact

This vulnerability could lead to unauthorized directory deletion, potentially causing loss of sensitive data such as user files, configuration files, or repositories. For GDPR, this may result in unauthorized data erasure or processing violations. For HIPAA, it could compromise protected health information if deleted or exposed during the attack.

Mitigation Strategies

Immediately upgrade openCode to a patched version beyond 1.18.26. If upgrading is not possible, restrict access to the DELETE /experimental/worktree endpoint by implementing authentication and authorization checks. Disable the experimental worktree feature if unused.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-88624. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart