CVE-2026-86539
HighCVSS 7.2Exploitation Probability (EPSS)
Low risk11th percentile - higher than 11% of all known CVEs
Summary
Vulnerability in knowns through 0.33.0 contains a server-side request forgery vulnerability in the POST /api/embedding-models/test endpoint that issues outbound requests to caller-supplied destinations without validation. Attackers can enumerate internal hosts and cloud metadata endpoints by observing transport error messages that reveal network reachability information.
Risk Assessment
The risk includes the ability to scan internal networks, access cloud metadata (e.g., credentials), and use the server as a proxy for attacks on other systems.
Recommendation
Update knowns to a version newer than 0.33.0 if a fix is available. Restrict outbound network traffic from the server and validate destination addresses.
Other vulnerabilities in knowns
See all- CVE-2026-88899Critical
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.
- CVE-2026-86543Critical
Vulnerability in knowns before version 0.30.0 serves the management API without authentication on all network interfaces by default, with no password required on fresh installations. Attackers can access the unauthenticated /api/tunnel/start endpoint to provision a public tunnel and republish the API at a publicly accessible address.
- CVE-2026-86542Critical
Vulnerability in knowns before 0.30.0 fails to validate import names in the import routes, allowing unauthenticated attackers to write files outside the imports directory. Attackers can supply traversal sequences in the name parameter to escape the imports directory and overwrite arbitrary files writable by the server process.
- CVE-2026-88940Medium
knowns through 0.33.0 fails to validate the path query parameter in the workspace browse endpoint, allowing remote attackers to enumerate arbitrary directories on the host filesystem. Attackers can traverse the directory structure to locate project directories and identify targets for further exploitation.
- CVE-2026-88939High
knowns through 0.33.0 unconditionally exempts the project.set action from permission guard checks. Read-only agent sessions can bypass restrictions by invoking project.set to repoint the server at another project directory and obtain write access capabilities.
- CVE-2026-88938Medium
knowns through 0.33.0 fails to confine the path argument of the code.find MCP tool to the project root, allowing AI agent sessions to read source files anywhere on the host. Attackers can supply absolute paths or relative traversal sequences to the path argument and retrieve full file contents from outside the intended project directory.
- CVE-2026-88937High
knowns through 0.33.0 fails to properly validate template destination paths in the code generation template engine, allowing attackers to read and write arbitrary files outside the project root. Attackers can supply malicious templates that traverse directories to overwrite shell profiles, steal credentials, or achieve persistent code execution on victim systems.
- CVE-2026-86775High
The npm package "knowns" versions <= 0.29.1 contain a path traversal vulnerability in the Document API. The cleanDocPath() function does not neutralize ../ sequences, and doc_store.go builds the target path without verifying it stays inside the documents directory. In the default deployment (unauthenticated Management API bound to all interfaces), a remote unauthenticated attacker can read, create, overwrite, or delete arbitrary .md files and create directories on the host. The issue is fixed in version 0.30.0.
- CVE-2026-86544High
Vulnerability in knowns versions before 0.30.0 contain an authorization bypass vulnerability where mutating code actions are incorrectly classified as read-only operations. Attackers with read-restricted sessions can exploit code.replace to modify permission configurations and escalate privileges on subsequent calls.
- CVE-2026-86541High
Vulnerability in knowns versions before 0.30.0 contain a path traversal vulnerability in the handleCodeReplace() function that allows attackers to overwrite arbitrary files outside the project root. Attackers can supply absolute paths or relative paths containing directory traversal sequences to write malicious content to sensitive files like shell startup scripts or SSH configuration files.
Original NVD description (English source)
knowns through 0.33.0 contains a server-side request forgery vulnerability in the POST /api/embedding-models/test endpoint that issues outbound requests to caller-supplied destinations without validation. Attackers can enumerate internal hosts and cloud metadata endpoints by observing transport error messages that reveal network reachability information.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

