Description
IBM Langflow OSS 1.0.0 through 1.13.0 Model Context Protocol (MCP) tool-call interface is intended to let authenticated clients run saved flows as tools, with custom component code restricted to administrators when that restriction is enabled. The interface built the stored flow, which executed custom component code, before the administrator-only check was applied. An authenticated attacker without administrator rights could send a tool call with an additional, unexpected argument to run arbitrary code in the server process. This could allow the attacker to access configured secrets and stored data, and to reach internal services.
Vendor solution
IBM strongly recommends addressing these vulnerabilities now by upgrading Langflow OSS installations to Langflow OSS 1.13.1.
Review the Langflow OSS 1.13.1 release notes https://github.com/langflow-ai/langflow/releases/tag/v1.13.1 and follow the installation instructions for your deployment:
* Python package: install Langflow 1.13.1 from PyPI https://pypi.org/project/langflow/1.13.1/ with pip install --upgrade "langflow==1.13.1", following the installation instructions https://docs.langflow.org/get-started-installation .
* Docker: use langflowai/langflow:1.13.1 and follow the Docker upgrade instructions https://docs.langflow.org/deployment-docker#upgrade-the-langflow-docker-image to pull the image and restart the deployment while preserving its persistent data.
Some of these issues were first addressed in earlier Langflow OSS releases (1.11.2, 1.12.6, 1.12.7, and 1.13.0); those corrections are included in Langflow OSS 1.13.1.
Before upgrading, back up the database, secret key, and uploaded files. If the deployment uses automatic login, prepare the existing account for password sign-in as described in the installation and Docker upgrade instructions. These preparation steps accompany the product upgrade; no separate interim workaround is provided.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-94 Improper Control of Generation of Code
References
- www.ibm.com/support/pages/node/7297616 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.