CVE-2025-3248: Langflow Unauthenticated Remote Code Execution Vulnerability
Summary
CVE-2025-3248: Langflow Unauth RCE. Affects langflow-base versions < 0.3.0. Fixed in 0.3.0. How to fix ↓
Also tracked for
The same CVE-2025-3248 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
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.
No signup required · Results in about 60 seconds
Background
Langflow is an open-source framework designed for building and deploying language models. It provides a user-friendly interface for developers to integrate various language processing capabilities into their applications. However, versions prior to 1.3.0 have a critical vulnerability that exposes the application to potential remote code execution (RCE) attacks, allowing unauthorized users to execute arbitrary code through crafted HTTP requests.
Vulnerability Detail
The vulnerability exists in the /api/v1/validate/code endpoint of Langflow versions before 1.3.0. An unauthenticated remote attacker can exploit this flaw by sending specially crafted HTTP requests, which may lead to the execution of arbitrary code on the server. This poses significant risks, including data breaches, unauthorized access to sensitive information, and potential control over the affected system. The vulnerability is classified with a CVSS score of 9.3, indicating a high severity level.
How To Fix
Latest published version: 1.14.0.dev3 as of 23 Oct 2026
pip install --upgrade "langflow-base==1.14.0.dev3"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
0.3.0
This is the first release that contains the fix.
pip install --upgrade "langflow-base==0.3.0"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If immediate upgrading is not feasible, consider restricting access to the /api/v1/validate/code endpoint by implementing firewall rules or using API gateway controls to limit exposure to trusted IP addresses only.
Conclusion
The Langflow vulnerability (CVE-2025-3248) poses a significant risk due to its potential for remote code execution by unauthenticated attackers. Users are strongly advised to upgrade to version 1.3.0 or later to mitigate this risk. Additionally, implementing access restrictions can serve as a temporary workaround.
See every vulnerability recorded for langflow-base →
FAQ
The CVSS score of this vulnerability is 9.3, indicating a high severity level.
Langflow versions prior to 1.3.0 are affected by this vulnerability.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Exploitation of this vulnerability can lead to unauthorized code execution, data breaches, and loss of control over the affected system.
Yes, you can implement firewall rules or API gateway controls to restrict access to the vulnerable endpoint.
References
Related vulnerabilities
Recent vulnerabilities recorded for langflow-base.