knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header
Priority MEDIUM 50CWE-73Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00809 57th percentileScored 2026-11-07
Fix Fixed knowns (knowns-dev): 0.31.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| knowns-dev | knowns | before 0.31.0 | 0.31.0 | Patch available | CNA |
- knowns Vendorknowns-dev Affected before 0.31.0 Fixed in 0.31.0 Patch available CNA
Remediation
- Fix · CNA knowns (knowns-dev) Fixed in 0.31.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-88899
References
More knowns-dev vulnerabilities
- TI-2026-60300 knowns through 0.33.0 Authorization Bypass via project.set Bootstrap Exemption CVSS 4.0HIGH 8.7
- TI-2026-60298 knowns through 0.33.0 Path Traversal via Template Engine CVSS 4.0HIGH 8.6
- TI-2026-59217 knowns before 0.30.0 Arbitrary Code Execution via LSP Binary CVSS 4.0HIGH 8.5
- TI-2026-60301 knowns through 0.33.0 Arbitrary Directory Enumeration via workspace browse endpoint CVSS 4.0MEDIUM 6.9
- TI-2026-60299 knowns through 0.33.0 Path Traversal via code.find MCP tool CVSS 4.0HIGH 7.1
- TI-2026-59220 knowns before 0.30.0 Unauthenticated Management API Exposure CVSS 4.0CRITICAL 9.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences