Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-48519: CWE-94: Improper Control of Generation of Code ('Code Injection') in langflow-ai langflow

0
Critical
VulnerabilityCVE-2026-48519cvecve-2026-48519cwe-94
Published: 06/23/2026 (06/23/2026, 16:25:09 UTC)
Source: CVE Database V5
Vendor/Project: langflow-ai
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected software

langflow
pkg:pypi/langflow
Affected versions
<1.9.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/23/2026, 16:56:15 UTC

Technical Analysis

The vulnerability in langflow (CVE-2026-48519) is an improper control of code generation (CWE-94) that leads to remote code execution. The Shareable Playground feature, which allows unauthenticated execution of public flows via a specific API route, improperly handles user-supplied Python code embedded in the JSON payload. Specifically, the data.nodes[X].data.node.template.code.value field can contain arbitrary code that is executed when the flow runs. This allows attackers to execute arbitrary code remotely without authentication. The vulnerability is resolved in langflow version 1.9.2.

Potential Impact

Successful exploitation allows unauthenticated remote attackers to execute arbitrary Python code on the server hosting langflow, leading to complete compromise of confidentiality, integrity, and availability of the affected system. The CVSS score of 9.6 reflects critical severity with network attack vector, low attack complexity, no privileges required, user interaction required, and scope change. This can result in full system takeover.

Mitigation Recommendations

Upgrade langflow to version 1.9.2 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until the upgrade is applied, disable or restrict access to the Shareable Playground feature or the /api/v1/build_public_tmp route to prevent unauthenticated execution of public flows.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/23/2026, 16:56:15 UTC

Last updated: 06/23/2026, 19:09:57 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses