CVE-2026-86775: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in knowns-dev knowns
knowns (npm package) versions up to 0.29.1 have a path traversal vulnerability in the Document API that allows remote unauthenticated attackers to read, create, overwrite, or delete arbitrary .md files on the host filesystem. This occurs because user-supplied document paths are not properly sanitized to prevent traversal sequences, and the server does not verify that resolved paths remain within the intended documents directory. The vulnerability is fixed in version 0.30.0.
AI Analysis
Technical Summary
The knowns npm package versions <= 0.29.1 contain a path traversal vulnerability in the Document API's HTTP handler. The function cleanDocPath() normalizes user-supplied document paths by stripping leading/trailing slashes and the .md suffix but fails to neutralize '../' sequences. The server then constructs file paths without verifying that the final resolved path remains inside the documents directory. In default deployments where the Management API is unauthenticated and exposed, an attacker can supply traversal payloads to read, write, or delete arbitrary .md files anywhere on the host filesystem and create directories. This can lead to exposure of sensitive data, file corruption, or arbitrary write capabilities that may be leveraged for code execution. The issue is resolved in version 0.30.0.
Potential Impact
Remote unauthenticated attackers can exploit this vulnerability to read sensitive documentation files, overwrite or delete files with .md extensions anywhere on the host filesystem, and create arbitrary directories. This can lead to data exposure, data corruption, and potentially enable further attacks such as code execution through chaining. The vulnerability affects default deployments where the Management API is unauthenticated and exposed to all interfaces.
Mitigation Recommendations
Upgrade knowns to version 0.30.0 or later, where this path traversal vulnerability is fixed. Until then, restrict access to the Management API to trusted users and networks to reduce exposure. Patch status is confirmed fixed in version 0.30.0.
CVE-2026-86775: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in knowns-dev knowns
Description
knowns (npm package) versions up to 0.29.1 have a path traversal vulnerability in the Document API that allows remote unauthenticated attackers to read, create, overwrite, or delete arbitrary .md files on the host filesystem. This occurs because user-supplied document paths are not properly sanitized to prevent traversal sequences, and the server does not verify that resolved paths remain within the intended documents directory. The vulnerability is fixed in version 0.30.0.
CVSS v4.0
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The knowns npm package versions <= 0.29.1 contain a path traversal vulnerability in the Document API's HTTP handler. The function cleanDocPath() normalizes user-supplied document paths by stripping leading/trailing slashes and the .md suffix but fails to neutralize '../' sequences. The server then constructs file paths without verifying that the final resolved path remains inside the documents directory. In default deployments where the Management API is unauthenticated and exposed, an attacker can supply traversal payloads to read, write, or delete arbitrary .md files anywhere on the host filesystem and create directories. This can lead to exposure of sensitive data, file corruption, or arbitrary write capabilities that may be leveraged for code execution. The issue is resolved in version 0.30.0.
Potential Impact
Remote unauthenticated attackers can exploit this vulnerability to read sensitive documentation files, overwrite or delete files with .md extensions anywhere on the host filesystem, and create arbitrary directories. This can lead to data exposure, data corruption, and potentially enable further attacks such as code execution through chaining. The vulnerability affects default deployments where the Management API is unauthenticated and exposed to all interfaces.
Mitigation Recommendations
Upgrade knowns to version 0.30.0 or later, where this path traversal vulnerability is fixed. Until then, restrict access to the Management API to trusted users and networks to reduce exposure. Patch status is confirmed fixed in version 0.30.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-08T11:35:02.617Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6aa164baacd9273b49685b91
Added to database: 09/09/2026, 13:52:58 UTC
Last enriched: 09/09/2026, 14:07:06 UTC
Last updated: 09/09/2026, 16:16:41 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.