CVE-2026-48519: CWE-94: Improper Control of Generation of Code ('Code Injection') in langflow-ai langflow
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.2, the "Shareable Playground" (or "Public Flows" in code) contains a critical RCE vulnerability. Shareable Playground feature works by enabling the execution of workflows by unauthenticated users, by accessing a link. Specifically, it enables the route /api/v1/build_public_tmp to execute any public flow, given a public flow ID. When the route executes the flow, it allows for providing arbitrary custom Python code as the nodes code, inside the JSON payload. The vulnerable field is data.nodes[X].data.node.template.code.value. This vulnerability is fixed in 1.9.2.
AI Analysis
Technical Summary
CVE-2026-48519 is a critical code injection vulnerability (CWE-94) in langflow-ai's langflow product affecting versions prior to 1.9.2. The Shareable Playground feature, which allows execution of public workflows by unauthenticated users through the /api/v1/build_public_tmp endpoint, improperly controls code generation. Specifically, the vulnerability permits arbitrary Python code injection via the data.nodes[X].data.node.template.code.value field in the JSON payload, leading to remote code execution. This vulnerability has a CVSS 3.1 score of 9.6, indicating high exploitability and impact. The vulnerability is resolved in langflow version 1.9.2.
Potential Impact
An attacker can remotely execute arbitrary Python code without authentication by exploiting the vulnerable endpoint and injecting malicious code in the workflow nodes. This can lead to full system compromise, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Upgrade langflow to version 1.9.2 or later, where this vulnerability is fixed. No other official remediation or temporary fix is indicated. Users should avoid using vulnerable versions and restrict access to the Shareable Playground feature until patched.
CVE-2026-48519: CWE-94: Improper Control of Generation of Code ('Code Injection') in langflow-ai langflow
Description
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.2, the "Shareable Playground" (or "Public Flows" in code) contains a critical RCE vulnerability. Shareable Playground feature works by enabling the execution of workflows by unauthenticated users, by accessing a link. Specifically, it enables the route /api/v1/build_public_tmp to execute any public flow, given a public flow ID. When the route executes the flow, it allows for providing arbitrary custom Python code as the nodes code, inside the JSON payload. The vulnerable field is data.nodes[X].data.node.template.code.value. This vulnerability is fixed in 1.9.2.
CVSS v3.1
Score 9.6critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48519 is a critical code injection vulnerability (CWE-94) in langflow-ai's langflow product affecting versions prior to 1.9.2. The Shareable Playground feature, which allows execution of public workflows by unauthenticated users through the /api/v1/build_public_tmp endpoint, improperly controls code generation. Specifically, the vulnerability permits arbitrary Python code injection via the data.nodes[X].data.node.template.code.value field in the JSON payload, leading to remote code execution. This vulnerability has a CVSS 3.1 score of 9.6, indicating high exploitability and impact. The vulnerability is resolved in langflow version 1.9.2.
Potential Impact
An attacker can remotely execute arbitrary Python code without authentication by exploiting the vulnerable endpoint and injecting malicious code in the workflow nodes. This can lead to full system compromise, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Upgrade langflow to version 1.9.2 or later, where this vulnerability is fixed. No other official remediation or temporary fix is indicated. Users should avoid using vulnerable versions and restrict access to the Shareable Playground feature until patched.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-21T16:18:10.619Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3ab6d9eed863c81e4f9e94
Added to database: 06/23/2026, 16:39:53 UTC
Last enriched: 06/30/2026, 23:22:09 UTC
Last updated: 08/04/2026, 12:46:13 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.