CVE-2026-8481

Remote Code Execution via Code Validation Endpoint

Published Jul 17, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 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
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'}

Weaknesses
  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
ibm
Published
Updated
Jul 23, 2026, 3:56 AM
Reserved
May 13, 2026, 1:52 PM
Status
Analyzed
Published
Jul 17, 2026, 8:17 PM
Modified
Oct 24, 2026, 8:10 PM