Skip to content
HighVulnerability

GHSA-3pvh-63gf-j9mw: LangBot: Authenticated RCE Via MCP Configuration

Published
Record updated
View JSON
Affected
  • langbot <= 4.10.5
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

Any authenticated LangBot user can execute arbitrary OS commands on the server by adding an STDIO MCP server with a chosen command in the MCP configuration. The flaw is in src/langbot/pkg/provider/tools/loaders/mcp.py, where StdioServerParameters from the mcp package spawns a subprocess with the supplied command. The advisory rates this as authenticated remote code execution (CWE-78) affecting publicly reachable instances and, from the same network, local instances.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.