CVE-2026-88899

published 10 Sep 2026 · updated 11 Sep 2026

knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.31.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
knowns-dev<0.31.00.31.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-88899 severity on Zeptric[![CVE-2026-88899](https://zeptric.io/badge/cve/CVE-2026-88899.svg)](https://zeptric.io/cve/CVE-2026-88899)