Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Knowns MCP/Web UI endpoint
-
DeliveryInvoke create_doc tool
-
ExploitSupply crafted '../' folder name
-
ExecutionPath traversal escapes docs root
-
PersistDocument written to arbitrary location
-
ImpactTamper with or overwrite files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the ability to invoke the create_doc MCP tool of Knowns 0.11.4 and to control its folder-name argument with a crafted traversal value (e.g. containing '../'). Concretely this means either a reachable Knowns MCP/Web UI endpoint, or an AI agent connected to Knowns that can be induced (via prompt injection or a malicious task/doc reference) to call create_doc with attacker-chosen input. Limiting factors: Knowns is a CLI-first, self-hostable developer tool that in default single-user setups is bound locally, so the NVD PR:N/AV:N scoring only holds if the instance is network-exposed without authentication; in typical local deployments an attacker must first act as an MCP client or influence the agent's tool calls, which meaningfully narrows real-world exposure below the raw 7.5 score. |
| Impact | The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N = 7.5) treats this as a remote, unauthenticated, high-confidentiality issue, which fits a network-exposed MCP/Web UI server reachable without authentication. However, that scoring is questionable on two points: (1) impact is modeled as confidentiality-only (C:H, I:N, A:N), yet the described primitive is create_doc WRITING a document via a traversed folder name, which is fundamentally an integrity (arbitrary file write) issue, not a read primitive - verify the intended impact with the vendor; and (2) Knowns is documented as a CLI-first, typically locally-run developer tool, so the real-world attack vector is often local/MCP-client-driven rather than open network, and PR:N assumes the MCP endpoint is exposed with no auth. Supporting signals are modest: EPSS is low (0.26%), there is no CISA KEV listing, and while a POC gist exists, POC availability is not active exploitation. Net: for most installations this is a moderate rather than critical priority - CVSS 7.5 likely overstates real-world risk for the common local/self-hosted deployment, though a network-exposed instance would raise it materially. |
| Exploit ScenarioDerived | An attacker who can influence create_doc calls - via a network-reachable MCP/Web UI endpoint, or a prompt-injection payload steering an AI agent connected to Knowns - supplies a folder name like '../../../../etc/knowns' or a path into a startup/config directory. The create_doc handler writes the document to that traversed location, letting the attacker place files outside the intended store. A POC gist demonstrating the traversal is publicly referenced, and the low attack complexity (AC:L) means no special timing or race conditions are required once the tool can be invoked. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Directory traversal in Knowns 0.11.4 (the 'knowns' npm CLI/MCP knowledge layer for AI-assisted development) lets an attacker supply a crafted folder name to the create_doc tool and cause documents to be created outside the intended workspace directory. Because create_doc is exposed to AI agents via MCP, a malicious or manipulated tool call can traverse the filesystem using sequences such as '../'. A researcher gist and an upstream fix commit are referenced, so publicly available exploit code exists; the flaw is not in CISA KEV and carries a low EPSS score (0.26%, 18th percentile), indicating no evidence of widespread active exploitation.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the referenced commit 62fb0daaa0b9e66fce1d42c02b5bb519367cf669 is cited as the fix, but the diff provided in the feed only shows README changes, so operators should track knowns-dev/knowns for the tagged npm release that supersedes 0.11.4 and upgrade once published (verify at https://www.npmjs.com/package/knowns). Until a confirmed patched version is installed, restrict who can reach create_doc: do not expose the Knowns MCP server or Web UI to untrusted networks, bind it to localhost, and place it behind authentication if remote access is needed (trade-off: breaks remote/team MCP usage). As a compensating control, run the Knowns process under a low-privilege account inside a container or sandbox whose only writable mount is the intended docs directory, so a traversed path cannot escape the workspace (trade-off: added deployment complexity). Treat create_doc arguments coming from AI agents as untrusted and review or constrain the folder-name value before execution.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Knowns is a CLI-first, self-hostable 'memory layer' for AI-native development that stores structured project context (specs, tasks, docs) and exposes it to AI assistants through the Model Context Protocol (MCP). One of those MCP tools, create_doc, accepts a folder name that is used to build the on-disk path for a new document. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the folder-name input is not canonicalized or constrained to the intended documents root, so path separators and parent-directory sequences ('../') in the value are honored, allowing writes outside the project store. Note that the CPE in the feed is a placeholder (cpe:2.3:a:n/a:n/a:*:*:*), so the affected component must be taken from the description (knowns-dev/knowns 0.11.4) rather than from structured CPE data.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
create_doc is a local/self-hosted MCP tool needing client access (AV:L, PR:L); traversal enables arbitrary file write (I:H) with only incidental read/overwrite (C:L), not the NVD's confidentiality-only model.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
Directory traversal vulnerability in knowns-dev/knowns 0.11.4 via crafted folder name value to the create_doc tool.
Executive ViewAI
Knowns 0.11.4, an npm-based knowledge layer used in AI-assisted development, contains a directory traversal vulnerability (CVE-2026-30632) that enables attackers to create documents outside the intended workspace directory through crafted tool inputs to AI agents. This could compromise development environment integrity and expose sensitive project documentation outside intended boundaries. Although no widespread exploitation has been observed (EPSS 0.3%), publicly available exploit code exists, requiring immediate protective action.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict the create_doc tool in MCP configurations until patch available; (2) Implement strict input validation on folder name parameters, rejecting '..' and absolute path sequences; (3) Execute Knowns processes with minimal file system permissions scoped to a dedicated sandbox directory; (4) Enable file system monitoring and alerting for unexpected document creation attempts outside designated workspace boundaries.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)CVE.org
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
NVD
CVE.org
EPSS
GitHub
Exploit-DB