← CVE Intelligence

CVE-2026-88899

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

Description (CNA)

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 (CNA)

Vendor / productVersions
knowns-dev / knownsaffected 0 before 0.31.0; unaffected 0.31.0

CWE

CWE-73

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.