MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-88899

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

Not on CISA KEV
  • Overview

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.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • PoC-in-GitHub Source: PoC-in-GitHub