Exploit database

Vulnerability

CVE-2026-10134

Unauthenticated Server-Side RCE via PythonCodeStructuredTool in Public Flows

Vulnerability details

Score
10.0
Severity
critical

CVSS 3.1 · ibm

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Description

IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read and modify every flow, conversation, message, file upload, and saved component in the Langflow database, can connect to internal services, abuse cloud metadata endpoints, laterally move to other tenants on the same Langflow instance, and Establish persistence by modifying the public flow's `tool_code` so normal `/api/v1/build/...` calls by any user re-execute attacker code at each build.

CVE Program

Exploit source choices

1 source
Langflow AI Public Flow Build Unauth RCE
MSF-multi--http--langflow_unauth_rce_cve_2026_10134MetasploitPython / remotePreferred

Langflow versions 1.0.0 through 1.9.3 are susceptible to unauthenticated remote code execution due to improper handling of a public flow's `tool_code` field and a lack of required authentication for the `/api/v1/build_public_tmp/<flow_id>/flow` endpoint. If a target instance exposes a public flow and its UUID, an unauthenticated remote attacker can supply malicious code payloads via parameters like tool_code targeting paths under /api/v1/ without needing any valid credentials. If no flow UUIDs are exposed, an authenticated attacker can create one in order to exploit this vulnerability. Arbitrary code is executed under the context of the Langflow backend process.

2026-07-17langflow_unauth_rce_cve_2026_10134.rb