Skip to main content

Knowns CVE-2026-30632

HIGH
Path Traversal (CWE-22)
2026-07-21 mitre
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Knowns MCP/Web UI endpoint
  2. Delivery
    Invoke create_doc tool
  3. Exploit
    Supply crafted '../' folder name
  4. Execution
    Path traversal escapes docs root
  5. Persist
    Document written to arbitrary location
  6. Impact
    Tamper 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Jul 22, 2026 - 19:22 NVD
7.5 (HIGH)
CVE Published
Jul 21, 2026 - 00:00 cve.org
HIGH 7.5
CVE Published
Jul 21, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Directory traversal vulnerability in knowns-dev/knowns 0.11.4 via crafted folder name value to the create_doc tool.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche new AI-developer npm tool, small self-hosted footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy