CVE-2026-0770: Langflow Remote Code Execution Vulnerability via validate_code() exec()

langflow Updated 23 Feb 2026

Summary

23/01/2026
No i
High
8.9

CVE-2026-0770: Langflow affected by Remote Code Execution via validate_code() exec(). Affects langflow versions < 1.7.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Langflow is an open-source framework designed for building and deploying machine learning applications. It provides a user-friendly interface and integrates various machine learning libraries, enabling developers to streamline their workflows. However, a critical vulnerability has been identified that allows remote code execution, posing significant security risks to installations of Langflow.

Vulnerability Detail

The vulnerability, identified as CVE-2026-0770, arises from the handling of the exec_globals parameter in the validate endpoint of Langflow. This flaw allows remote attackers to execute arbitrary code on affected installations without requiring authentication. The root cause is the inclusion of resources from an untrusted control sphere, which can lead to severe consequences, including unauthorized access to sensitive data and system compromise. The CVSS score for this vulnerability is 8.9, indicating a high severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users should avoid using the validate endpoint until the package is updated. Additionally, implementing strict input validation and sanitization for the exec_globals parameter can help reduce the risk of exploitation.

Conclusion

CVE-2026-0770 is a critical vulnerability in Langflow that allows remote code execution due to improper handling of the exec_globals parameter. Users are strongly advised to update to the latest version to mitigate risks. For those unable to update immediately, implementing workarounds can help reduce exposure to this vulnerability.

See every vulnerability recorded for langflow →

Share this vulnerability

FAQ

CVE-2026-0770 is a vulnerability in Langflow that allows remote code execution through improper handling of the exec_globals parameter.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors and alerts for open-source vulnerabilities.

No, authentication is not required to exploit CVE-2026-0770, making it particularly dangerous.

If an immediate update is not possible, refrain from using the validate endpoint and implement strict input validation as a temporary measure.

Exploitation of this vulnerability could lead to unauthorized code execution, data breaches, and complete system compromise.

Related vulnerabilities

Recent vulnerabilities recorded for langflow.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback