---
id: CVE-2026-88624
title: >-
  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.
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.
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-22
published: '2026-09-22'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:08:55.030'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88624'
references:
  - url: 'https://github.com/MyselfYangjz/vulnReport/issues/2'
    label: cve@mitre.org
tags:
  - nvd
  - cve.org
epss: 0.00345
epssPercentile: 0.25265
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-23T14:51:10.872994Z'
ingestedAt: '2026-09-22T20:10:15.100Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
