CVE-2026-88899
Received Received - Intake

File Path Traversal in OpenCode Proxy Endpoint

Vulnerability report for CVE-2026-88899, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-10

Last updated on: 2026-09-10

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-10
Last Modified
2026-09-10
Generated
2026-09-10
AI Q&A
2026-09-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
knowns_dev knowns to 0.31.0 (exc)
knowns_dev knowns 0.31.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-88899 is a critical vulnerability in the Knowns npm package versions before 0.31.0. It allows unauthenticated attackers to bypass directory restrictions by injecting arbitrary paths via the x-opencode-directory header in the /api/opencode proxy endpoint. This enables file operations outside the intended project root, potentially accessing sensitive system directories like /root or /etc.

Detection Guidance

Check Knowns version with: npm list knowns or knowns --version. If version is <= 0.30.0, the system is vulnerable. Inspect HTTP headers for requests to /api/opencode for x-opencode-directory header manipulation attempts.

Impact Analysis

This vulnerability allows attackers to read, write, or execute files anywhere on the host system, leading to full host compromise. It can result in credential theft, file corruption, and arbitrary code execution through the AI agent's tool interface. The attack requires only network access to the Knowns server and no authentication.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection standards like GDPR and HIPAA due to unauthorized access to sensitive files and potential data breaches. It enables attackers to read or modify sensitive data, leading to regulatory penalties and loss of trust.

Mitigation Strategies

Upgrade Knowns to version 0.31.0 or later immediately. If upgrading is not possible, disable the /api/opencode endpoint or implement strict input validation for the x-opencode-directory header.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-88899. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart