Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local or network access to MCP interface
-
DeliveryCraft export_state call with path-traversal filepath argument
-
ExploitServer writes attacker-controlled content to target file
-
ExecutionOverwrite critical file (e.g., ~/.ssh/authorized_keys)
-
ImpactEstablish persistent access or trigger service disruption
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires the ability to invoke the MCP server's export_state, import_state, saveVectorToFile, or loadVectorFromFile tools, which in turn requires low-privilege authenticated access (PR:L per the CVSS vector) to the MCP interface. The attack is further constrained to files writable by the server process's OS account - an attacker cannot overwrite files outside that permission scope. No special non-default server configuration is required beyond the MCP server being running and the attacker having sufficient privilege to send tool invocations to it. The attack vector is local (AV:L); remote exploitation is only possible if the MCP server is intentionally exposed over a network interface accessible to untrusted clients, a deployment posture the vendor advisory explicitly warns against. There is no confidentiality impact (C:N): the vulnerability enables writes, not reads. |
| Impact | The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H scores 7.1, which accurately reflects the local attack vector and the requirement for low-privilege access to the MCP interface. EPSS data is absent from available intelligence, preventing probabilistic exploitation forecasting. No CISA KEV listing exists and no confirmed public exploit or POC has been identified; a referenced GitHub issue (https://github.com/BruceJqs/public_exp/issues/32) may contain additional context but its contents are not available in the provided data. Despite the absence of public exploit code, the primitive - write arbitrary content to any file writable by the server process - is inherently high-impact: a single well-formed tool invocation can plant SSH keys or corrupt application files. Real-world risk is strongly gated by MCP server exposure: deployments restricting the interface to trusted local users face substantially lower risk than those exposing it to networked or untrusted clients. The 'Microsoft' tag in the input data has no apparent grounding in the advisory text and may be a tagging artifact; no Microsoft-specific product or Windows-only condition is described. |
| Exploit ScenarioDerived | A caller with access to the MCP server interface submits an export_state tool invocation with a filepath argument of ../../.ssh/authorized_keys and a body containing their own SSH public key. The unpatched server passes this path directly to fs.writeFileSync, overwriting the authorized_keys file for the account running the server and granting the attacker SSH login access. No publicly confirmed POC exists at time of analysis, but the exploit requires only a single crafted MCP tool call with no memory corruption or race conditions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
Arbitrary file write in sublinear-time-solver's MCP export_state and import_state tools allows any caller able to invoke the MCP interface to overwrite files accessible to the server process - including sensitive targets such as ~/.ssh/authorized_keys or application binaries - by supplying a path-traversal filepath argument. Affected packages are consciousness-explorer (npm) < 1.1.2, sublinear-time-solver (npm) < 1.6.0, and the Rust crate sublinear < 0.2.0. No public exploit or CISA KEV listing has been identified at time of analysis, but the write-anywhere primitive carries inherent high-impact potential against deployments that expose the MCP server to untrusted callers.
RemediationAI
Upgrade consciousness-explorer to version 1.1.2 or later, sublinear-time-solver to version 1.6.0 or later, and the Rust crate sublinear to version 0.2.0 or later; patched releases are available at https://github.com/ruvnet/sublinear-time-solver/releases/tag/v1.6.0 and the respective package registries. Note that this is a breaking change: callers must now pass a basename-only filename rather than an absolute or relative path; any automation passing absolute paths will need updating. For deployments that cannot immediately patch, the vendor recommends three compensating controls: (1) do not expose the MCP server to untrusted clients - this directly removes the attacker's ability to invoke the vulnerable tools, at the cost of restricting remote/programmatic MCP access; (2) restrict export_state and import_state invocations to trusted local users only; (3) run the server process under a low-privilege OS account confined to a restricted working directory, limiting the files any traversal could reach. These workarounds reduce blast radius but leave the underlying CWE-73 flaw in place.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-73 (External Control of File Name or Path) describes the root cause: the MCP server's export_state and import_state tool handlers in the consciousness-explorer component forwarded the user-supplied filepath argument verbatim to Node.js fs.writeFileSync and fs.readFileSync, with no sanitization of path separators, .. components, NUL bytes, or absolute paths. The identical unsanitized sink pattern existed in saveVectorToFile and loadVectorFromFile in the main solver MCP server. Affected packages are identified via CPE as pkg:npm/consciousness-explorer and pkg:npm/sublinear-time-solver, with a parallel Rust crate sublinear on crates.io. The MCP (Model Context Protocol) interface is a programmatic tool-invocation layer, meaning exploitation requires the ability to call the tool - not an unauthenticated HTTP endpoint. The fix (PR #20, commits a701296 and ea9a212) confines writes to a dedicated state directory, enforces a basename-only contract rejecting separators, .., NUL/control characters, hidden files, and Windows reserved names, and opens files with O_NOFOLLOW | O_CLOEXEC at mode 0o600.
Know when the next one hits your stack
- 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:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Local vector (AV:L) and low privilege (PR:L) reflect MCP tool invocation access requirement; write-only exploit yields no confidentiality impact (C:N).
Primary rating from Vendor (https://github.com/ruvnet/sublinear-time-solver).
CVSS VectorVendor: https://github.com/ruvnet/sublinear-time-solver
DescriptionCVE.org
Impact
An arbitrary file write vulnerability (CWE-73, External Control of File Name or Path) exists in the consciousness-explorer component of sublinear-time-solver. The MCP export_state (and import_state) tool accepted a user-supplied filepath argument and passed it directly to fs.writeFileSync / fs.readFileSync without constraining the destination or rejecting path traversal. An attacker able to invoke the MCP tool could write or overwrite any file accessible to the server process (e.g. ~/.ssh/authorized_keys, application files), leading to integrity loss and potential service disruption.
The same sink class was present in the main solver MCP server (saveVectorToFile / loadVectorFromFile).
Affected versions
consciousness-explorer< 1.1.2sublinear-time-solver< 1.6.0sublinear(crates.io) < 0.2.0
Patches
consciousness-explorer@1.1.2sublinear-time-solver@1.6.0sublinear@0.2.0
State/vector files are now confined to a dedicated directory (overridable via $CONSCIOUSNESS_EXPLORER_STATE_DIR / $SUBLINEAR_SOLVER_VECTOR_DIR), a basename-only contract is enforced (rejecting separators, .., NUL/control chars, hidden files, and Windows reserved names), and files are opened with O_NOFOLLOW | O_CLOEXEC mode 0o600. Covered by 14 regression tests in tests/consciousness/safe-path.test.mjs.
Breaking change: callers must now pass a basename, not an absolute path.
Workarounds
Do not expose the MCP server to untrusted clients; restrict export_state to trusted local users; run the server under a low-privilege account with a restricted working directory.
Executive ViewAI
The MCP export_state and import_state tools in consciousness-explorer (npm), sublinear-time-solver (npm), and the Rust sublinear crate contain a path-traversal vulnerability enabling arbitrary file writes on the server. No public exploit identified at time of analysis. Organizations running these packages with MCP servers exposed to untrusted callers face immediate risk of system compromise through SSH key injection, binary replacement, or credential theft-potential gateways to unauthorized access and lateral movement.
Apply vendor patch: upgrade to consciousness-explorer ≥1.1.2, sublinear-time-solver ≥1.6.0, and sublinear ≥0.2.0. Pending patch deployment, restrict network access to the MCP server interface to trusted internal callers only and implement file integrity monitoring on sensitive targets such as ~/.ssh/authorized_keys and application binaries.
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.
EUVD-2026-65706
GHSA-xc9g-j69q-37xw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB