Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-88899— knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header

Quick assessment

Affected
knowns-dev knowns
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

已知 0.31.0 之前的版本在 代理端点中未能正确验证 请求头。远程攻击者可以指定任意的目录路径,从而在主机系统的项目根目录之外执行文件操作。

CVSS 9.8 · Critical
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-88899

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
knowns-dev knowns 0 ~ 0.31.0 -

II. Public POCs for CVE-2026-88899

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-88899

登录查看更多情报信息。

Vendor Advisories for CVE-2026-88899 (2)

Vendor Pages for CVE-2026-88899 (1)

Same Patch Batch · knowns-dev · 2026-09-10 · 5 CVEs total

CVE-2026-88937 8.8 HIGH knowns through 0.33.0 Path Traversal via Template Engine
CVE-2026-88939 8.3 HIGH knowns through 0.33.0 Authorization Bypass via project.set Bootstrap Exemption
CVE-2026-88938 6.5 MEDIUM knowns through 0.33.0 Path Traversal via code.find MCP tool
CVE-2026-88940 5.3 MEDIUM knowns through 0.33.0 Arbitrary Directory Enumeration via workspace browse endpoint

IV. Related Vulnerabilities

V. Comments for CVE-2026-88899

No comments yet


Leave a comment