Patchfirst
CVE-2026-33017 KEVPublic exploit Critical · 9.8 EPSS 96.2%

Langflow Code Injection Vulnerability

Langflow · Langflow

Summary

Langflow, the tool for building and deploying AI-powered agents and workflows, contains a code injection flaw in its POST /api/v1/build_public_tmp/{flow_id}/flow endpoint. An unauthenticated remote attacker over the network can supply flow data containing arbitrary Python code in a node definition via the optional data parameter, which the endpoint passes to exec() without sandboxing, requiring no authentication or user interaction.

Official description · NVD

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.

Breakdown
74.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 1 day before it was disclosed. Public exploit code (Metasploit) was available the same day.

  1. First seen exploitedVulnCheck KEV evidence1 day before
  2. DisclosedPublic exploit codeMetasploitday 0
  3. Added to CISA KEVEU database agrees+5 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

See the family tree

2 related vulnerabilities in the same code over 11 months.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2025-3248Langflow Missing Authentication7 Apr 2025KEV
  2. relatedHigh

    Why these are linked:

    This CVECVE-2026-33017Langflow Code Injection20 Mar 2026KEV

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

unauthenticated public-facing endpoint is the entry point

POST /api/v1/build_public_tmp/{flow_id}/flow endpoint allows building public flows without requiring authentication
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

attacker-supplied Python executed via exec()

This code is passed to exec() with zero sandboxing, resulting in unauthenticated remote code execution
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2026-33017 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: langflow.

Upgrade to 1.10.3 or later

Fixes this CVE and 12 other known vulnerabilities in this package (CVE-2024-37014, CVE-2025-3248, +10).

pippip install "langflow>=1.10.3"

First fixed in 1.9.0 for CVE-2026-33017.

Affected versions

If you runUpgrade to
All versions before 1.9.01.10.3first fix for this CVE: 1.9.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

7 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close