Langflow OSS: Remote Code Execution (CVE-2026-18729)
Langflow OSS versions 1.0.0 through 1.11.1 contain an improper code generation vulnerability that allows remote authenticated attackers to achieve arbitrary code execution via custom components.
CVE search metadata
CVE search record: CVE-2026-18729. Severity: high. CVSS: 8.8. EPSS: 1.55%. KEV: no. Product: Langflow OSS. Brief: Langflow OSS: Remote Code Execution (CVE-2026-18729). Brief link: https://feed.craftedsignal.io/briefs/2026-11-langflow-rce-cve-2026-18729/
Triage facts
Revision 1- Applicability
- Langflow OSS
- Evidence
- Unknown
- Severity
- High
- Sources
- 4 public sources
- Freshness
- Revision 1Nov 20, 05:48 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- C3Roughly even chance
Overview
Langflow OSS versions 1.0.0 through 1.11.1 are vulnerable to remote code execution (CVE-2026-18729). The vulnerability arises from improper control of code generation within custom components. An authenticated attacker can exploit this flaw by triggering a divide-by-zero error, allowing the execution of arbitrary bash commands within the application build scope.
Attack Chain
An authenticated attacker can exploit the custom component creation endpoint. By injecting specific mathematical patterns, an attacker can trigger a divide-by-zero error that allows the execution of bash commands. The application does not serialize the output of these commands back to the user, though the commands are executed within the build scope.
Impact
Successful exploitation allows an authenticated attacker to achieve arbitrary code execution on the server hosting the Langflow instance. The integrity, confidentiality, and availability of the system are impacted.
Recommendation
Upgrade Langflow OSS to version 1.11.2 or later.