CVE-2026-107329

Langflow OSS is affected by multiple vulnerabilities

Published Oct 29, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
IBM Langflow OSS 1.0.0 through 1.12.4 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation.

Analysis

AI-generated

Technical impact

IBM Langflow OSS versions 1.0.0 through 1.12.4 contain an improper control of code generation flaw that allows a remote authenticated attacker to execute arbitrary code. The flaw arises when user‑controlled data is passed to Langflow's code generation engine without adequate validation, enabling the attacker to inject malicious code. Successful exploitation can compromise the entire application, including data confidentiality and integrity, and provides the attacker full control over the host system.

Affected Systems

The vulnerability affects IBM's Langflow OSS, a machine‑learning workflow orchestration product, across all released versions from 1.0.0 up to and including 1.12.4. Any installation running these versions on any platform is potentially vulnerable. The official fix is available in version 1.12.5, which also includes previous fixes for CVE‑2026‑107366, CVE‑2026‑18894, and CVE‑2026‑77817.

Risk and Exploitability

The CVSS score of 9.9 indicates a critical severity with high exploit likelihood. Although EPSS data is not available, the lack of a KEV listing does not diminish the risk; the vulnerability permits remote code execution only after the attacker authenticates to the system, which is typical for high‑privilege accounts. Attackers would need valid user credentials, but the impact is still significant. Mitigation requires upgrading or applying configuration controls: hardening the MCP stdio interpreter and restricting admin‑only access to custom components. Additionally, revoking or rotating credentials that may have been exposed through exported flows is recommended.

Remediation

Vendor Solution

IBM strongly recommends addressing the vulnerability now by upgrading Langflow OSS to version 1.12.5. https://pypi.org/project/langflow/1.12.5/ For Langflow OSS versions 1.0.0 - 1.12.4, follow the Prepare to upgrade instructions and release-specific configuration changes https://docs.langflow.org/release-notes , including backing up your existing installation, then follow the Langflow OSS installation instructions https://docs.langflow.org/get-started-installation to install version 1.12.5 and test your flows. For deployments using MCP stdio, also apply the configuration controls in Workarounds and Mitigations. This bulletin also discloses fixes delivered in prior releases: CVE-2026-107366 was fixed in version 1.9.0; CVE-2026-18894 was fixed in version 1.11.2; and CVE-2026-77817 was fixed in version 1.11.5. Version 1.12.5 includes these fixes.


Vendor Workaround

IBM strongly recommends applying the following configuration controls to deployments using MCP stdio in addition to upgrading Langflow OSS to version 1.12.5. These controls do not replace the upgrade. Set LANGFLOW_MCP_SERVER_INTERPRETER_HARDENING=true to reject direct shell-script execution, and set LANGFLOW_CUSTOM_COMPONENT_ADMIN_ONLY=true to block non-admin MCP stdio access. Restart the Langflow service after updating its environment configuration. These restrictions can require changes to existing MCP server launch configurations and limit which users can use MCP stdio. For public workflows, retain the default restriction on custom components. Explicitly enabling LANGFLOW_ALLOW_PUBLIC_CUSTOM_COMPONENTS permits custom component execution and changes the default protection described for CVE-2026-18894. For CVE-2026-77817, upgrading prevents the identified secret disclosure in new flow and project exports. Revoke or rotate any credentials exposed in previously exported files; upgrading does not remove secrets from copies already exported.


OpenCVE Recommended Actions

  • Upgrade Langflow OSS to version 1.12.5 or later to apply the necessary fixes.
  • For deployments using MCP stdio, set the environment variable LANGFLOW_MCP_SERVER_INTERPRETER_HARDENING=true and LANGFLOW_CUSTOM_COMPONENT_ADMIN_ONLY=true, then restart the service.
  • Do not enable public custom components; keep LANGFLOW_ALLOW_PUBLIC_CUSTOM_COMPONENTS set to false to maintain the default restriction.
  • Revise or rotate any credentials that were exposed in exported flow or project files before the upgrade.

Generated by OpenCVE AI on October 29, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Langflow
Langflow langflow
CPEs cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*
Vendors & Products Langflow
Langflow langflow
Type Values Removed Values Added
Description IBM Langflow OSS 1.0.0 through 1.12.4 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation.
Title Langflow OSS is affected by multiple vulnerabilities
First Time appeared Ibm
Ibm langflow Oss
Weaknesses CWE-94
CPEs cpe:2.3:a:ibm:langflow_oss:1.0.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:langflow_oss:1.12.4:*:*:*:*:*:*:*
Vendors & Products Ibm
Ibm langflow Oss
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
ibm
Published
Updated
Oct 30, 2026, 5:18 PM
Reserved
Oct 7, 2026, 6:10 PM
Status
Analyzed
Published
Oct 29, 2026, 4:17 PM
Modified
Oct 30, 2026, 6:17 PM