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…
EPSS 0.8%top 46%

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/30/2026, 23:22:09 UTC

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.

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/30/2026, 23:22:09 UTC

Last updated: 08/04/2026, 12:46:13 UTC

Views: 57

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