CVE-2024-9277: Langflow HTTP POST Request Handler Suffers from Inefficient Regular Expression Complexity

langflow Updated 07 Jul 2026

Summary

07/07/2026
No i
Moderate
3.5

CVE-2024-9277: Inefficient Regular Expression Complexity in langflow. Affects langflow versions < 1.0.18. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Langflow is an open-source framework designed for building and deploying language models. It provides a user-friendly interface for interacting with various language processing tasks. However, like many software packages, it is susceptible to vulnerabilities that can affect its performance and security. The specific vulnerability in question relates to the HTTP POST Request Handler, which processes incoming requests and manipulates text data.

Vulnerability Detail

A vulnerability classified as problematic was discovered in Langflow versions up to 1.0.18. The issue arises from an inefficient regular expression complexity in the HTTP POST Request Handler, specifically in the manipulation of the 'remaining_text' argument within the utils.py file. This inefficiency can lead to performance degradation and potential denial of service, as attackers may exploit this vulnerability to craft requests that cause excessive resource consumption. The vulnerability has been publicly disclosed, and while the vendor was informed, there has been no response regarding a fix.

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, you may limit the size of incoming requests to the HTTP POST Request Handler to mitigate the impact of this vulnerability. This can be done by implementing a size check in your request handling logic. For example:

if len(request.data) > MAX_REQUEST_SIZE:

    return 'Request too large', 413

Conclusion

The CVE-2024-9277 vulnerability in Langflow highlights the importance of regular updates and monitoring for open-source software. By following the recommended steps to update the package and implementing temporary workarounds, users can mitigate the risks associated with this vulnerability.

See every vulnerability recorded for langflow →

Share this vulnerability

FAQ

CVE-2024-9277 is a vulnerability in Langflow that involves inefficient regular expression complexity in the HTTP POST Request Handler, potentially leading to performance issues.

Langflow versions up to 1.0.18 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of this vulnerability is 3.5, indicating a moderate level of risk.

Yes, updating to the latest version of Langflow will address this vulnerability. Use 'pip install --upgrade langflow' to update.

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