Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
auto_login grants SUPERUSER tokens to any unauthenticated network caller (PR:N, AV:N, AC:L), and exec()-based code execution yields full host compromise (C:H/I:H/A:H).
Primary rating from Vendor (ibm).
CVSS VectorVendor: ibm
Lifecycle Timeline
3DescriptionCVE.org
IBM Langflow OSS 1.0.0 through 1.10.0 allows unauthenticated attackers to chain /api/v1/auto_login (mints SUPERUSER tokens to any network caller) with /api/v1/validate/code (executes user code via exec()) to achieve full RCE on default Langflow deployments
Articles & Coverage 1
AnalysisAI
Unauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets any network-reachable attacker achieve full RCE on default deployments by chaining two endpoints: /api/v1/auto_login, which mints SUPERUSER tokens to any caller, and /api/v1/validate/code, which passes user-supplied code to Python's exec(). CVSS is 9.8 (AV:N/AC:L/PR:N/UI:N) and a vendor patch is available; there is no public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.
Technical ContextAI
Langflow is a Python-based, low-code visual builder for LangChain/LLM agent workflows, commonly self-hosted as a web service. The vulnerability is a CWE-94 Code Injection: the /api/v1/validate/code endpoint is intended to validate flow component code but ultimately evaluates it through Python's exec(), so attacker-controlled input runs in the server process. This is compounded by a broken authentication design in /api/v1/auto_login, which in default configuration issues SUPERUSER-level session tokens to any unauthenticated caller, removing the access control that would otherwise gate the code-validation path. The affected package is identified by CPE cpe:2.3:a:ibm:langflow_oss:*:*:*:*:*:*:*:*.
RemediationAI
Upgrade to the fixed IBM Langflow OSS release per the vendor advisory at https://www.ibm.com/support/pages/node/7278927 (Patch available per vendor advisory; the exact fixed version is not stated in the provided data and should be taken directly from IBM's page). As compensating controls until patched, disable the insecure auto-login behavior by setting LANGFLOW_AUTO_LOGIN=false and configuring real authentication with defined superuser credentials, which forces callers to authenticate before reaching any privileged endpoint - the trade-off is that all users must now log in and any automation relying on anonymous access will break. Additionally, restrict network access to the Langflow service by placing it behind a VPN, reverse proxy with authentication, or firewall rules, and specifically block or deny external access to /api/v1/auto_login and /api/v1/validate/code at the proxy layer; note this may interfere with legitimate flow-editing features that call validate/code. Do not expose Langflow directly to the internet.
More in Langflow Oss
View allUnauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.9.3 allows attackers to fully comprom
Authenticated command injection in IBM Langflow OSS 1.0.0 through 1.11.1 lets any logged-in flow user escalate to arbitr
Arbitrary Python code execution in IBM Langflow OSS 1.0.0 through 1.10.0 (Langflow versions up to 1.9.2) allows authenti
Remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 allows attackers to run arbitrary code by planting a mali
Authenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 lets any logged-in user run arbitrary Pytho
Arbitrary file write in IBM Langflow OSS 1.0.0 through 1.10.0 lets an attacker who controls an external HTTP server plan
Remote code injection in IBM Langflow OSS versions 1.0.0 through 1.10.0 allows an authenticated remote attacker to execu
Remote code execution in IBM Langflow OSS 1.0.0 through 1.10.1 stems from improper input validation in the PythonREPL sa
Privilege escalation to remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 allows an authenticated user to e
Code injection in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets an authenticated user execute arbitrary operating-
Remote code execution in IBM Langflow OSS 1.0.0 through 1.11.1 arises from the A2A (agent-to-agent) public endpoint fail
Unauthenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 stems from broken webhook authentication
Same weakness CWE-94 – Code Injection
View allSame technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-45236
GHSA-5wm9-vgmg-cjv6