Skip to main content

sublinear-time-solver CVE-2026-55609

| EUVDEUVD-2026-65706 HIGH
External Control of File Name or Path (CWE-73)
2026-08-25 https://github.com/ruvnet/sublinear-time-solver GHSA-xc9g-j69q-37xw
7.1
CVSS 3.1 · Vendor: https://github.com/ruvnet/sublinear-time-solver
View

Attack ChainAIDerived

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

  1. Access
    Obtain local or network access to MCP interface
  2. Delivery
    Craft export_state call with path-traversal filepath argument
  3. Exploit
    Server writes attacker-controlled content to target file
  4. Execution
    Overwrite critical file (e.g., ~/.ssh/authorized_keys)
  5. Impact
    Establish 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

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

sublinear-time-solver < 1.6.0

Affected Packages

npm consciousness-explorer fix: 1.1.2
npm sublinear-time-solver fix: 1.6.0

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

Vendor (https://github.com/ruvnet/sublinear-time-solver) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 7.1 HIGH

Local vector (AV:L) and low privilege (PR:L) reflect MCP tool invocation access requirement; write-only exploit yields no confidentiality impact (C:N).

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

Primary rating from Vendor (https://github.com/ruvnet/sublinear-time-solver).

CVSS VectorVendor: https://github.com/ruvnet/sublinear-time-solver

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

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.2
  • sublinear-time-solver < 1.6.0
  • sublinear (crates.io) < 0.2.0

Patches

  • consciousness-explorer@1.1.2
  • sublinear-time-solver@1.6.0
  • sublinear@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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Rare
niche npm packages for experimental MCP/solver research use
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.1%
Patch available Yes
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
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

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