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 98.4%top 0.09%

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

0
Critical
VulnerabilityCVE-2026-33017cvecve-2026-33017cwe-94cwe-95cwe-306
Published: Fri Mar 20 2026 (03/20/2026, 04:52:52 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. In versions prior to 1.9.0, the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint allows building public flows without requiring authentication. When the optional data parameter is supplied, the endpoint uses attacker-controlled flow data (containing arbitrary Python code in node definitions) instead of the stored flow data from the database. This code is passed to exec() with zero sandboxing, resulting in unauthenticated remote code execution. This is distinct from CVE-2025-3248, which fixed /api/v1/validate/code by adding authentication. The build_public_tmp endpoint is designed to be unauthenticated (for public flows) but incorrectly accepts attacker-supplied flow data containing arbitrary executable code. This issue has been fixed in version 1.9.0.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
Low
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L

Affected software

Affected versions
<1.9.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/22/2026, 15:05:44 UTC

Technical Analysis

Langflow, a tool for building AI-powered agents and workflows, had a critical code injection vulnerability (CWE-94) in versions before 1.9.0. The POST /api/v1/build_public_tmp/{flow_id}/flow endpoint, intended for building public flows without authentication, improperly accepts an optional data parameter containing attacker-controlled flow definitions. These definitions include arbitrary Python code executed directly with exec() without any sandboxing or validation, enabling unauthenticated remote code execution. This vulnerability is distinct from CVE-2025-3248, which addressed authentication on a different endpoint. The issue was resolved in version 1.9.0.

Potential Impact

An unauthenticated attacker can execute arbitrary Python code on the server running langflow by sending crafted requests to the vulnerable endpoint. This leads to full remote code execution with no authentication required, posing a critical risk to confidentiality, integrity, and availability of the affected system. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Upgrade langflow to version 1.9.0 or later, where this vulnerability is fixed. Since the vulnerability is resolved in the official release, applying this update fully mitigates the risk. No additional workarounds or mitigations are indicated.

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-03-17T17:22:14.666Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69bcda04e32a4fbe5f304681

Added to database: 3/20/2026, 5:24:20 AM

Last enriched: 5/22/2026, 3:05:44 PM

Last updated: 6/18/2026, 4:04:29 PM

Views: 231

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