Skip to content

v2.4.0 — Security Fixes and Maintenance Pass

Latest

Choose a tag to compare

@0xNyk 0xNyk released this 05 Dec 20:15
997ffcc

Mission Control 2.4.0 is a security and maintenance release. It fixes seven security advisories reported through GitHub private vulnerability reporting and ships a broad maintenance pass: Docker runtime fixes, orchestration bug fixes found by driving real flows, a much smaller initial page load, and reviewed community fixes.

Highlights

  • Seven security advisories fixed (path confinement, agent-key self-access, strict-workspace isolation, docs path handling, MCP path encoding, webhook destination checks)
  • docker-compose binds to 127.0.0.1 by default
  • local/<model> dispatch works with any OpenAI-compatible endpoint via LOCAL_LLM_ENDPOINT; agents can opt out of scheduler dispatch
  • First-load JS on /overview reduced by 76%
  • 12 community pull requests landed with co-author credit

Security advisories

Advisory Summary
GHSA-6p9c-vg7g-vxgj Hermes profile directory path traversal via agent name
GHSA-q7vp-p665-qj52 Agent workspace override to arbitrary host paths by non-admins
GHSA-m853-89x5-hc89 Agent API keys could access other agents' files, SOUL and diagnostics
GHSA-vrmv-j47v-jqpc Strict-workspace users could invoke host-level operations
GHSA-hc99-4w4v-3r4g Docs path prefix bypass and unencoded MCP path parameters
GHSA-qcfx-4m9x-36q9 Webhook guard bypass via IPv6 spellings of private IPv4 addresses
GHSA-qf6q-p6pp-4hvc Webhook guard bypass via NAT64/6to4/Teredo addresses

Thanks to the reporters credited on each advisory. All versions up to and including 2.3.0 are affected.

Upgrade notes

  1. Back up the Mission Control database and runtime configuration.
  2. Upgrade from the v2.4.0 tag or the corresponding container image.
  3. No database migrations are required.
  4. docker-compose now publishes on 127.0.0.1. Set MC_BIND=0.0.0.0 if you relied on LAN exposure.
  5. Agent workspace paths already stored by non-admin users are not rewritten; review agents whose workspace points outside OPENCLAW_STATE_DIR.
  6. Clients of /api/openclaw/doctor should check installed instead of relying on a non-2xx status.

Compatibility

  • Node.js 22 or newer remains required (the image uses Node 24).
  • Strict-workspace users now receive 403 from /api/openclaw/update, /api/openclaw/doctor, /api/pty/setup and /api/nodes.
  • Agent-scoped API keys receive 403 when addressing another agent on the files, soul, diagnostics and attribution routes. Admin-scoped keys and human users are unchanged.

Verification

The release commit passes the repository's protected quality-gate before tagging. Tags are created only from the merged main commit.

Changelog

This release fixes seven security advisories reported through GitHub private vulnerability reporting, plus a large maintenance pass (Docker runtime, orchestration fixes, performance, reviewed community fixes). Self-hosted operators should upgrade promptly.

Security

  • Hermes agent creation could write a profile directory outside ~/.hermes/profiles through a crafted agent name (operator role). Names with path separators or dot segments are now rejected for Hermes agents (GHSA-6p9c-vg7g-vxgj; duplicate report GHSA-qrr5-3ff3-98xq) (#1036).
  • Non-admin callers could point an agent's workspace at an arbitrary host directory via gateway_config.workspace / config.workspace / openclaw_workspace_path. Workspace locations set by non-admins must now be inside OPENCLAW_STATE_DIR (GHSA-q7vp-p665-qj52) (#1036).
  • Agent-scoped API keys could read and overwrite other agents' workspace files and SOUL content and read their diagnostics/attribution. These routes now enforce self-access like heartbeat and memory (GHSA-m853-89x5-hc89) (#1036).
  • Users in strict workspaces could reach host-level OpenClaw update/doctor, PTY setup and node routes. These now fail closed for strict workspaces (GHSA-vrmv-j47v-jqpc) (#1036).
  • The docs API accepted .. segments after an allowed root prefix, and the MCP server placed unencoded ids into API paths. Dot segments are rejected and MCP path ids are percent-encoded (GHSA-hc99-4w4v-3r4g) (#1036).
  • The webhook destination guard missed IPv6 spellings of private IPv4 addresses (IPv4-mapped hex form, IPv4-compatible, NAT64) and the 6to4/Teredo transition ranges (GHSA-qcfx-4m9x-36q9, GHSA-qf6q-p6pp-4hvc) (#1036).
  • Webhooks: opt-in MC_WEBHOOK_ALLOW_PRIVATE_CIDRS for receivers that are private by design (link-local never allowed) and a 4 KB cap on receiver responses (#1034, closes #919).
  • docker-compose publishes on 127.0.0.1 by default; set MC_BIND=0.0.0.0 to expose it (#1034).
  • Dependency overrides for cross-spawn ≥7.1.2, fflate ≥0.6.11 and minimatch 11.0.9 (#1034).

Fixed

  • Dispatch: local/<model> overrides are routed to LOCAL_LLM_ENDPOINT instead of the host Claude CLI; config.dispatchModel = manual|external|none excludes an agent from scheduler dispatch (closes #921); queue max_capacity > 1 is honoured; bulk task updates count only tasks in the caller's workspace (#1034).
  • Windows runtime detection (closes #953), Windows disk snapshot, data-volume disk health, Ollama pricing, onboarding loading dialog, @mention selection, agent workspace_path resolution, installer pnpm fallback and generate-env.sh credentials (community fixes, credited as co-authors in #1034).
  • /api/openclaw/doctor reports a missing OpenClaw as a warning (200 {installed:false}) instead of an error (#1034).

Changed

  • Dashboard panels are code-split: first-load JS on /overview drops from 3.61 MB to 0.87 MB (#1034).
  • global_api_key_used security events are throttled per agent/IP (#1034).
  • Docker image: writable .next/cache, a real home for the nextjs user, Node 24.23, 757 MB → 708 MB (#1034).
  • scripts/start-standalone.sh binds to MC_BIND_HOST (default 0.0.0.0) instead of the shell's HOSTNAME (#1034).
  • Dependencies: next 16.4.6, better-sqlite3 13, jsdom 30, vitest 4.1.12, @playwright/test 1.65.1 (#1034).

Full details: CHANGELOG.md · docs/releases/2.4.0.md