Skip to main content
← All vulnerabilities
CVE-2026-88899

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.31.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • knowns-dev knowns

    fixed in 0.31.0

References 6

GitHub · knowns-dev/knowns

vulncheck.com

GitHub · uziii2208/CVE-2026-88899