CVE Catalog

CVE-2026-88899

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

knowns versions before 0.31.0 fail to properly validate the x-opencode-directory request header in the /api/opencode proxy endpoint. Remote attackers can supply arbitrary directory paths to execute file operations outside the project root on the host system.

Risk Assessment

A remote attacker can perform file operations outside the project directory, potentially leading to unauthorized access, modification, or deletion of files on the system.

Recommendation

Upgrade the software to version 0.31.0 or later and consider restricting access to the /api/opencode endpoint.

Other vulnerabilities in knowns

See all
Original NVD description (English source)

knowns versions before 0.31.0 fail to properly validate the x-opencode-directory request header in the /api/opencode proxy endpoint. Remote attackers can supply arbitrary directory paths to execute file operations outside the project root on the host system.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS