Skip to content

AAK-MCP-SUBLINEAR-CVE-2026-55609-001: consciousness-explorer state tools accept a caller-controlled path (sublinear-time-solver below 1.6.0, consciousness-explorer below 1.1.2)

Severity
HIGH
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
ConsciousnessExplorerStatePathTraversal

What it detects

The export_state and import_state tools in src/consciousness-explorer/mcp/server.js pass the caller-controlled filepath parameter to filesystem operations without restricting the destination (CVE-2026-55609), so an MCP client reads or writes outside the intended directory. One advisory, two npm packages, and they carry different floors: sublinear-time-solver fixes it in 1.6.0 and consciousness-explorer in 1.1.2, so both are pinned under this rule and whichever a project depends on fires below its own floor.

How to fix

Upgrade sublinear-time-solver to >= 1.6.0 and/or consciousness-explorer to >= 1.1.2 and pin them. For a state-persistence tool, do not take a path from the caller at all: derive it from a server-side root plus a validated identifier, and resolve-and-contain before opening.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-SUBLINEAR-CVE-2026-55609-001

Limitations

Reads sublinear-time-solver and consciousness-explorer, each against its own fix floor, in requirements*.txt at any depth and, at the project root only, in pyproject.toml, Pipfile, package.json, .mcp.json, mcp.json, claude_desktop_config.json and the Pipfile.lock, poetry.lock, uv.lock, package-lock.json, pnpm-lock.yaml and yarn.lock lockfiles, taking the lowest version a range allows and reporting a reference that states no version. The dependency is not read when it is declared in a sub-directory manifest (packages/app/package.json), in .cursor/mcp.json or .vscode/mcp.json, or in a lockfile format the reader does not parse (a Yarn 2+ yarn.lock). A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-SUBLINEAR-CVE-2026-55609-001.md: the page then shows that text, with the registry reference appended under it.