LiveActive security incident?Get immediate response
CVE Record

CVE-2026-0768: Langflow code Code Injection Remote Code Execution Vulnerability

Langflow code Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the code parameter provided to the validate endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of root. . Was ZDI-CAN-27322.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2026-0768 is a critical unauthenticated remote code execution issue in Langflow. A remote attacker could abuse the validate endpoint to run Python code, reportedly as root. Public sources list Langflow 1.4.2 as affected. No active exploitation is reported in the provided sources or KEV status.

Executive priority

Treat as urgent for any exposed Langflow deployment. The issue is unauthenticated remote code execution with potential root-level impact, so compromise could affect confidentiality, integrity, and availability. Validate exposure and follow vendor remediation guidance immediately.

Technical view

The flaw is CWE-94 code injection in Langflow’s handling of the code parameter to the validate endpoint. ZDI states improper validation allows arbitrary Python execution without authentication, in the root context. CVSS is 9.8, network exploitable, low complexity, no privileges, and no user interaction.

Likely exposure

Highest concern is any Langflow 1.4.2 instance reachable from the internet or untrusted networks. Internal deployments are also exposed if untrusted users or compromised hosts can reach the validate endpoint.

Exploitation context

The provided sources describe unauthenticated remote code execution but do not provide evidence of active exploitation. The vulnerability was tracked as ZDI-CAN-27322 and disclosed as ZDI-26-034.

Researcher notes

Sources name only Langflow 1.4.2 as affected and do not identify a fixed release. Avoid assuming broader version impact without vendor confirmation. The key validation questions are version, endpoint reachability, authentication boundary, and whether compensating network controls are effective.

Mitigation direction

  • Check Langflow vendor guidance for fixed versions or official mitigations.
  • Prioritize upgrading or remediating Langflow 1.4.2 if vendor guidance identifies a fix.
  • Restrict Langflow access to trusted networks and authenticated administrative users.
  • Remove internet exposure for affected Langflow instances where operationally possible.
  • Increase monitoring around requests to the validate endpoint.

Validation and detection

  • Inventory Langflow deployments and identify any running version 1.4.2.
  • Confirm whether Langflow is reachable from the internet or untrusted networks.
  • Review exposure of the validate endpoint without performing exploit testing.
  • Check vendor advisories and package metadata for fixed versions.
  • Review application and access logs for suspicious validate endpoint activity.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-94: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-0768 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.0CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

9.8Critical
CVSS 3.0 vector shape for CVE-2026-0768Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LangflowLangflow1.4.2unknown
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-94 · source CWE mapping

Improper Control of Generation of Code ('Code Injection')

Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.