SEPTEMBER 15, 2026
Live Feed
Back to database
Case File

CVE-2026-86775

HIGH · CVSS 8.6 EPSS 0.49% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-09-09 · Last synced 2026-09-15

CyberRota Analysis

AI-Generated

Versions of the knowns npm package up to 0.29.1 are vulnerable to a path traversal attack due to improper normalization of user-supplied document paths, allowing unauthenticated remote attackers to read, create, overwrite, or delete arbitrary files with a .md extension on the host filesystem. This vulnerability poses a significant risk as it can lead to exposure of sensitive data, file corruption, and potential code execution. Organizations using this package should prioritize upgrading to version 0.30.0 to mitigate these risks, especially if the Management API is deployed in an unauthenticated state.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Detected Signals
code execution
GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-86775
Severity
HIGH
CVSS
8.6
EPSS
0.49%

Original NVD Description

knowns (npm package) versions <= 0.29.1 contain a path traversal vulnerability in the Document API. The HTTP handler in internal/server/routes/docs.go normalizes the user-supplied document path with cleanDocPath(), which strips leading/trailing slashes and the .md suffix but does not neutralize ../ traversal sequences, and internal/storage/doc_store.go then builds the target path with filepath.Join(ds.docsDir(), filepath.FromSlash(doc.Path)+".md") without verifying that the resolved path remains inside the documents directory. In the default deployment, where the Management API is unauthenticated and bound to all interfaces, a remote unauthenticated attacker can supply a traversal payload (for example {"path": "../../../../tmp/knowns_pwn_marker"} to POST /api/docs, or an encoded path to GET /api/docs/...) to read, create, overwrite, or delete arbitrary files with a .md extension anywhere on the host filesystem and to create arbitrary directories via os.MkdirAll. This can expose sensitive data stored in other projects' documentation, corrupt or destroy files, and provide an arbitrary-write primitive that may be chained toward code execution. The issue is fixed in version 0.30.0.