Skip to main content
Vulnerability Database/CVE-2026-104335

CVE-2026-104335: IBM Langflow OSS RCE Vulnerability

CVE-2026-104335 is a remote code execution vulnerability in IBM Langflow OSS versions 1.0.0 through 1.12.2 caused by improper access control. This article covers the technical details, affected versions, potential impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-104335 Overview

CVE-2026-104335 is an improper access control vulnerability [CWE-284] affecting IBM Langflow OSS versions 1.0.0 through 1.12.2. The flaw allows a remote authenticated attacker to execute arbitrary code on the host running Langflow. IBM Langflow OSS is an open-source framework for building applications on top of large language models, and the affected component exposes functionality that should be restricted to privileged users.

Critical Impact

An authenticated attacker with low privileges can execute arbitrary code on the target system, leading to full compromise of confidentiality, integrity, and availability.

Affected Products

  • IBM Langflow OSS 1.0.0 through 1.12.2
  • Deployments embedding Langflow OSS within LLM application pipelines
  • Container and self-hosted installations of Langflow OSS in the affected range

Discovery Timeline

  • 2026-10-07 - CVE-2026-104335 published to the National Vulnerability Database (NVD)
  • 2026-10-07 - Last updated in NVD database

Technical Details for CVE-2026-104335

Vulnerability Analysis

The vulnerability stems from improper access control within IBM Langflow OSS. Functionality that should enforce authorization checks for privileged operations is reachable by any authenticated user. Because Langflow processes and executes user-supplied flow components, insufficient enforcement allows an attacker to reach code paths that evaluate or run supplied logic.

Successful exploitation yields arbitrary code execution in the context of the Langflow process. In typical deployments, this process has access to API keys, model credentials, backing databases, and other secrets used across LLM pipelines. The impact scope therefore extends beyond the Langflow service to adjacent systems that trust it.

The weakness maps to CWE-284: Improper Access Control. The attack is network-reachable and requires only low privileges, with no user interaction. The EPSS probability at publication was 0.565% at the 45th percentile, reflecting limited public exploitation signal at disclosure.

Root Cause

The root cause is missing or insufficient authorization checks on Langflow endpoints that handle flow execution or component configuration. Authenticated role separation is not enforced consistently, so a low-privileged account can invoke operations that result in code execution.

Attack Vector

An attacker first obtains authenticated access to the Langflow instance, which may be a self-registered or low-privileged account. The attacker then issues crafted requests to the affected endpoint. Because access control is improperly applied, the server processes the request and executes attacker-controlled logic on the host. See the IBM Support advisory for product-specific technical details.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-104335

Indicators of Compromise

  • Unexpected child processes spawned by the Langflow service account, including shells, interpreters, or network utilities
  • Outbound network connections from the Langflow host to unfamiliar domains or IP addresses
  • New or modified flow definitions, custom components, or Python code blocks created by low-privileged accounts
  • Authentication events from newly registered accounts followed by API calls to flow execution endpoints

Detection Strategies

  • Monitor Langflow application logs for authenticated requests to administrative or component-execution endpoints originating from non-admin users
  • Correlate HTTP access logs with process creation telemetry on the host to identify request-driven command execution
  • Alert on anomalous Python subprocess creation, file writes outside the application directory, and interpreter invocations with suspicious arguments

Monitoring Recommendations

  • Enable verbose audit logging in Langflow and forward logs to a centralized SIEM or data lake for retention and analysis
  • Baseline normal API usage per user role and alert on deviations such as unusual endpoints or payload sizes
  • Track container and host-level process trees for Langflow deployments to detect post-exploitation activity

How to Mitigate CVE-2026-104335

Immediate Actions Required

  • Upgrade IBM Langflow OSS to a fixed version as directed in the IBM Support advisory
  • Restrict network exposure of Langflow instances to trusted networks or VPN-only access until patched
  • Audit existing Langflow user accounts and remove unused, self-registered, or low-trust accounts
  • Rotate API keys, model provider credentials, and database secrets accessible to the Langflow process

Patch Information

IBM has published remediation guidance on the IBM Support page for CVE-2026-104335. Apply the fixed release that addresses versions 1.0.0 through 1.12.2 as specified by the vendor. Verify the deployed version after upgrade and confirm that authorization checks are enforced on execution endpoints.

Workarounds

  • Disable self-registration and require administrator approval for new Langflow accounts
  • Place Langflow behind an authenticating reverse proxy that enforces strict role-based access to administrative paths
  • Run Langflow under a dedicated low-privileged service account with no access to secrets beyond those required for its workloads
  • Isolate the Langflow host using container boundaries, network segmentation, and egress filtering to limit post-exploitation movement
bash
# Example: restrict Langflow admin endpoints at the reverse proxy (nginx)
location /api/v1/ {
    allow 10.0.0.0/24;   # internal admin subnet
    deny all;
    proxy_pass http://langflow_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.