Description
IBM Langflow OSS 1.0.0 through 1.10.0 contain a critical remote code execution vulnerability in the code validation API endpoint. The POST /api/v1/validate/code endpoint accepts user-supplied Python code and executes it directly using Python's built-in exec() function without sandboxing, input validation, or privilege restrictions, enabling any authenticated user to execute arbitrary system commands with the full privileges of the Langflow server process.
Published: 2026-07-17
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in IBM Langflow OSS allows any authenticated user to send Python code to the POST /api/v1/validate/code endpoint, which executes that code directly via the Python exec() function without sandboxing or validation. This results in arbitrary execution of system commands with the same privileges as the Langflow server process, effectively granting the attacker full control of the server. The flaw is a classic code injection weakness, identified as CWE‑94.

Affected Systems

IBM Langflow OSS versions 1.0.0 through 1.10.0 are affected. The vulnerability exists in the code validation API endpoint of these releases and permits execution of arbitrary Python code by authenticated users.

Risk and Exploitability

The CVSS score of 9.9 indicates a critical severity, and though the EPSS score is below 1%, indicating a low likelihood of exploitation at present, the vulnerability is not listed in CISA KEV. An attacker must be authenticated to exploit the flaw, but once authenticated can execute any system command on the host. The lack of sandboxing or privilege checks makes this a direct path to full system compromise if the Langflow service runs with elevated rights.

Generated by OpenCVE AI on July 30, 2026 at 23:47 UTC.

Remediation

Vendor Solution

IBM strongly recommends addressing the vulnerability now by upgrading Langflow OSS to version 1.10.1 https://pypi.org/project/langflow/


OpenCVE Recommended Actions

  • Upgrade IBM Langflow OSS to version 1.10.1, the first release that addresses this flaw.
  • If an upgrade cannot be applied immediately, restrict access to the /api/v1/validate/code endpoint by network firewall rules or ACLs so only trusted internal hosts can reach it.
  • Remove or disable authentication for users who do not require access to the code validation feature, ensuring that only privileged accounts can invoke this endpoint.
  • Monitor application logs for calls to /api/v1/validate/code that contain suspicious or unexpected Python code and investigate promptly.

Generated by OpenCVE AI on July 30, 2026 at 23:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 17 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 17 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Description IBM Langflow OSS 1.0.0 through 1.10.0 contain a critical remote code execution vulnerability in the code validation API endpoint. The POST /api/v1/validate/code endpoint accepts user-supplied Python code and executes it directly using Python's built-in exec() function without sandboxing, input validation, or privilege restrictions, enabling any authenticated user to execute arbitrary system commands with the full privileges of the Langflow server process.
Title Remote Code Execution via Code Validation Endpoint
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.10.0:*:*:*:*:*:*:*
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'}


Subscriptions

Ibm Langflow Oss
cve-icon MITRE

Status: PUBLISHED

Assigner: ibm

Published:

Updated: 2026-07-23T03:56:07.676Z

Reserved: 2026-05-13T13:52:34.784Z

Link: CVE-2026-8481

cve-icon Vulnrichment

Updated: 2026-07-17T19:40:40.710Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:00:06Z

Weaknesses
  • CWE-94

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