Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to knowns MCP interface
-
DeliverySupply path-traversal sequence in doc/memory tool argument
-
ExploitServer resolves path outside project root without validation
-
ExecutionRead, write, or delete target file as server process user
-
ImpactExfiltrate credentials or overwrite critical 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 authenticated low-privilege access to the knowns MCP tool interface (PR:L per the CVSS 4.0 vector) over the network. The MCP server must be running and reachable. No special non-default configuration is required - any deployment of knowns before v0.30.0 with the MCP interface enabled is vulnerable. Impact is bounded by the OS-level file permissions of the server process user: an attacker cannot read files the process cannot access. In AI-agent deployments, a prompt-injection attack against the LLM using knowns may reduce the effective privilege requirement by coercing the model into issuing malicious path arguments autonomously. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) is well-calibrated: network-accessible, low complexity, requiring only low privilege, with full C/I/A impact on the vulnerable system and no scope change. The PR:L requirement meaningfully limits automated exploitation - an attacker must first obtain MCP client credentials or session access. The MCP attack surface introduces an additional threat model unique to AI-integrated deployments: a prompt-injection attack against an LLM agent using knowns could cause the model to autonomously issue crafted path arguments, effectively reducing the privilege barrier in certain deployments. No CISA KEV listing and no confirmed standalone POC exist at time of analysis. Real-world risk is constrained by the product's niche footprint and the PR:L requirement, but organizations using knowns in LLM agent pipelines should treat this as higher priority due to the prompt-injection amplification scenario. |
| Exploit ScenarioDerived | An attacker authenticated to the knowns MCP interface - or an LLM agent prompted to do so via prompt injection - submits a memory or document tool call with a path argument such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Path traversal in knowns (a Go-based MCP-integrated knowledge management server) before version 0.30.0 allows authenticated remote attackers to read, create, overwrite, and delete arbitrary Markdown files accessible to the server process by supplying directory traversal sequences in MCP tool arguments. The flaw is rooted in the absence of any path containment validation in the storage layer (doc_store.go and memory_store.go), meaning MCP-issued file paths were passed directly to filesystem operations without sanitization. No public exploit is identified at time of analysis, though the fix commit, patch diff, and security advisory are all publicly available.
RemediationAI
Upgrade knowns to version 0.30.0 or later, released at https://github.com/knowns-dev/knowns/releases/tag/v0.30.0 and patched via commit 09c5a96fd5817b941dc86669278c1a17db10ed4e. The fix introduces the internal/safepath package, which blocks traversal sequences, absolute paths, symlink escapes, and platform-specific bypass techniques. If immediate upgrade is not possible, restrict the knowns MCP interface to a minimal set of trusted callers using network firewall rules or process-level authentication controls; reducing the server process to a dedicated low-privilege OS user with read-only access to non-project directories limits the blast radius to files that user can reach. In LLM-agent deployments, apply prompt filtering or MCP argument sandboxing as an additional layer, noting that these controls are not a substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
knowns is a Go application (knowns-dev/knowns, CPE: cpe:2.3:a:knowns-dev:knowns:*:*:*:*:*:*:*:*) that exposes knowledge-base document and memory operations as tools over the Model Context Protocol (MCP), an interface commonly used to integrate AI language models with backend services. The vulnerable code resides in internal/storage/doc_store.go (lines 124-129) and internal/storage/memory_store.go (lines 203-211), which accept user-supplied path arguments and pass them to Go's standard os/filepath operations without first verifying the resolved path remains within the designated project root. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) applies directly: the application never calls filepath.Abs, filepath.Clean, or a containment check before performing I/O. The fix in v0.30.0 introduces a new internal/safepath package that rejects parent-traversal segments, absolute paths, NUL bytes, Windows UNC/device prefixes, NTFS alternate data streams, and symlink escapes, and adds a ValidateMemoryID function using a strict allowlist regex.
Know when Knowns 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-accessible MCP interface requires low-privilege authentication (PR:L); no scope change as impact is bounded by server process file permissions.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
knowns versions before 0.30.0 fail to validate filesystem paths in MCP tool arguments, allowing attackers to read, create, overwrite and delete files outside the project directory. Attackers can supply path arguments containing directory traversal sequences to access arbitrary Markdown files accessible to the server process.
Technical POC Analysis
CWE-22 path traversal in the storage layer of knowns before 0.30.0.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Organizations using knowns for knowledge management face the risk of unauthorized document access, modification, or deletion by authenticated users exploiting a path traversal flaw. This vulnerability allows any user with valid credentials to bypass access controls and potentially expose, alter, or destroy critical organizational knowledge. Immediate upgrade to version 0.30.0 eliminates this risk.
Apply vendor patch.
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.
Missing authentication in Knowns (knowns-dev/knowns) before 0.30.0 exposes the management API on all network interfaces
External control of a filesystem path in Knowns (knowns-dev/knowns) before 0.31.0 lets remote attackers escape the proje
Path traversal in the knowns npm documentation tool (versions ≤ 0.29.1) enables remote unauthenticated attackers to read
Path traversal in knowns before v0.30.0 permits unauthenticated remote attackers to write files outside the designated i
Path traversal in the knowns template-preview API (versions before 0.30.0) allows unauthenticated remote attackers to re
Privilege escalation in knowns through 0.33.0 permits authenticated read-only agent sessions to bypass authorization con
Path traversal in the knowns code generation template engine (versions through 0.33.0) allows unauthenticated remote att
Arbitrary binary execution in knowns before 0.30.0 is triggered when a developer opens a repository containing a crafted
Path traversal in the knowns MCP server's handleCodeReplace() function allows unauthenticated network attackers to overw
Authorization bypass in knowns before v0.30.0 allows low-privileged users holding read-restricted sessions to escalate p
Path traversal in knowns through version 0.33.0 allows authenticated AI agent sessions to read arbitrary files anywhere
Server-side request forgery in Knowns ≤0.33.0 enables unauthenticated remote attackers to make the server issue outbound
EUVD-2026-72555
GHSA-9gfj-28hw-jchp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB