# LangBot: symlinks in MCP staging let sandboxed code touch host files

> CVE-2026-144586 is a sandbox escape in LangBot: a symlink planted inside the sandbox redirects the host's own file operations.

- **Severity:** Medium: Real and reproducible, but needs unusual setup, user help or a narrow audience. Plan a fix.
- **Category:** Vulnerability
- **Published by:** VulnCheck
- **Disclosed:** 2026-12-04
- **CVE:** CVE-2026-144586
- **CVSS:** 7.2
- **Affects:** LangBot
- **Research by:** Zachariah Mithani (AploSec)
- **Primary source:** https://www.vulncheck.com/advisories/langbot-through-4.11.9-symlink-following-via-mcp-stdio-workspace-staging
- **Page:** https://theinjection.dev/items/langbot-mcp-stdio-symlink-escape/

LangBot 4.11.9 and earlier stage MCP stdio workspaces on the host without resolving symlinks, so code inside the Box sandbox can make the host delete or overwrite files outside it with LangBot's service privileges.

## What happened

VulnCheck published the advisory and assigned CVE-2026-144586 on 4 December 2026, crediting Zachariah Mithani of AploSec. LangBot 4.11.9 and every earlier version are in scope. VulnCheck scores the flaw 7.2 on CVSS 4.0 and 8.2 on CVSS 3.1, and classifies it as CWE-59, improper link resolution before file access.

## How it works

Symlink following is the mechanism. LangBot stages an MCP stdio workspace by copying and clearing directories on the host, and VulnCheck reports that code running inside the Box sandbox can replace the .mcp, process or workspace path components with symlinks. The host's rmtree and copytree calls then follow those links, so they delete or overwrite arbitrary host paths with LangBot's service privileges.

## Who is affected

Self-hosted LangBot deployments on 4.11.9 or earlier are affected, per VulnCheck. The exposed group is narrower than the version range suggests: an attacker needs code execution inside the Box sandbox first, which in practice means an untrusted plugin, agent or model-driven tool call already runs there.

## What to do

Upgrade past 4.11.9. VulnCheck states no fixed version and cites pull request 3284, merged into master on 30 November 2026, which moves the Box subsystem to a network-only design and removes the host-mount and local-mount configuration options. LangBot released v4.12.0 on 4 December 2026, whose notes list stronger workspace isolation. Until you upgrade, treat anything that can run code in the Box sandbox as able to write to the host.

## Quick facts

- **Affected:** LangBot 4.11.9 and earlier
- **CVE:** CVE-2026-144586, CVSS 4.0 base score 7.2, published by VulnCheck
- **Fix:** No fixed version stated; pull request 3284 merged 30 November 2026, v4.12.0 released 4 December 2026
- **Found by:** Zachariah Mithani, AploSec
- **Disclosed:** 4 December 2026
- **Attack type:** Symlink following during MCP stdio workspace staging

## Sources

1. [VulnCheck Advisory](https://www.vulncheck.com/advisories/langbot-through-4.11.9-symlink-following-via-mcp-stdio-workspace-staging)
2. [GitHub Advisory](https://github.com/advisories/GHSA-3h45-7r83-fvc4)
3. [LangBot PR 3284](https://github.com/langbot-app/LangBot/pull/3284)
