Ruvnet sublinear-time-solver
sublinear-time-solver: Arbitrary file write in consciousness-explorer / sublinear-time-solver MCP export_state
sublinear-time-solver is a Rust and WebAssembly library for solving asymmetric diagonally dominant systems in sublinear time. Prior to consciousness-explorer 1.1.2 and sublinear-time-solver 1.6.0, the export_state and import_state tools in src/consciousness-explorer/mcp/server.js pass the attacker-controlled filepath parameter to filesystem operations in src/consciousness-explorer/index.js without restricting the destination or rejecting traversal. The saveVectorToFile and loadVectorFromFile tools in src/mcp/server.ts contain the same sink class through the file_path parameter. An attacker able to invoke the MCP tools can read, write, or overwrite any file accessible to the server process, causing confidentiality and integrity loss and possible service disruption. This issue is fixed in consciousness-explorer 1.1.2 and sublinear-time-solver 1.6.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.6.0
Fixed in 1.6.0
Mitigation
Upgrade sublinear-time-solver to 1.6.0 or later.
References
- Vendor advisory github.com/ruvnet/sublinear-time-solver/securi…
- Patch github.com/ruvnet/sublinear-time-solver/pull/2…
- Patch github.com/ruvnet/sublinear-time-solver/commit…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.