Sceawere
Vulnerability Detail
CVE-2026-18729UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
IBM Langflow Arbitrary Code Execution
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 8.8
- Creation Date
- 3h ago
- Vendor
- IBM
- Product
- Langflow OSS
- Attack Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Complexity
- LOW
Narrative and Response
Description
IBM Langflow OSS 1.0.0 through 1.11.1 could allow a remote authenticated attacker to execute arbitrary code due to improper control of generation of code.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "8.8",
"pubDate": "2026-08-28T22:16:46.867Z",
"pubdate": "2026-08-28T22:16:46.867Z",
"executiveSummary": "IBM Langflow OSS versions 1.0.0 through 1.11.1 are susceptible to a critical Arbitrary Code Execution (ACE) vulnerability stemming from improper control of code generation processes.\nThe vulnerability allows a remote, authenticated attacker to bypass intended operational constraints to execute unauthorized code on the host system.\nThis flaw involves the insecure handling of dynamic code generation, which can be manipulated by an attacker to force the application to perform unintended functions.\nSuccessful exploitation poses a severe risk to the confidentiality, integrity, and availability of the host environment, potentially leading to a full system compromise.\nThe attack requires the adversary to have authenticated access to the application, after which they can leverage the improper code generation logic to achieve remote code execution (RCE).\nThis vulnerability highlights risks associated with dynamic components within orchestration platforms that permit user-defined logic or input-driven code construction.",
"technicalDetails": "The vulnerability originates from the insecure implementation of internal logic responsible for generating code based on user-supplied inputs or configuration workflows within IBM Langflow OSS versions 1.0.0 to 1.11.1.\nThe core issue lies in the improper sanitization and validation of parameters that influence the code generation or evaluation engine. When the application processes these workflows, the lack of a secure sandbox or strict input validation allows an attacker to inject arbitrary commands or malicious logic into the generated executable stream.\nIn a typical attack flow, the authenticated actor interacts with the component responsible for building or executing Langflow graphs. By injecting crafted payloads into fields that are dynamically processed by the application's code generation modules, the attacker influences the underlying execution context. Since the application fails to distinguish between legitimate system-generated code and attacker-supplied input, the engine proceeds to evaluate the tainted content as authorized instructions.\nThe exploitation path involves manipulating the application's workflow definition files or API endpoints that trigger the code creation process. Once the payload is successfully injected, the application's runtime environment executes the malicious instructions with the privileges of the service account running the Langflow process. This effectively grants the attacker the ability to bypass application-level security controls, interact with the local filesystem, establish network connections, or deploy secondary persistence mechanisms.\nGiven that Langflow is designed for orchestration, the vulnerability is particularly potent, as it potentially grants an attacker access to the broader infrastructure or the environment variables used by the application, including sensitive credentials or API keys stored within the platform. The lack of robust isolation in the generation phase means there is no barrier preventing the transition from a legitimate workflow manipulation to arbitrary command execution on the host OS.\nThe vulnerability is inherent to the logic handling user-definable components and affects all instances running within the specified version range, irrespective of the underlying host operating system, provided the vulnerable version of the library is present."
}