Skip to main content

Langflow CVE-2026-55450

| EUVDEUVD-2026-38511 CRITICAL
Information Exposure (CWE-200)
2026-06-17 https://github.com/langflow-ai/langflow GHSA-x223-p2gf-v735
9.3
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
    Reach Langflow HTTP port (no auth)
  2. Delivery
    POST large file to /api/v1/upload/{arbitrary-uuid}
  3. Exploit
    Server writes file to cache, returns absolute path
  4. Execution
    Repeat to exhaust disk
  5. Impact
    Denial of service plus cache-path information leak

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

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 beyond network reachability - remote unauthenticated exploitation against default configurations of Langflow before 1.9.1: the deprecated POST /api/v1/upload/{flow_id} endpoint requires no authentication, accepts any arbitrary (unvalidated) flow_id UUID, and enforces no file-size limit. The only limiting factor is network exposure of the Langflow HTTP service (default port 7860) to the attacker; instances placed behind an authenticating reverse proxy, VPN, or network ACL are not reachable, and once upgraded to 1.9.1 the route requires an authenticated user who owns the referenced flow.

Impact

The published CVSS is 9.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H), and the vector is internally consistent with the description: fully remote, no privileges, no user interaction, a low-confidentiality path leak, and a high-availability disk-exhaustion outcome; the S:C (scope change) is defensible because filling the host filesystem affects components beyond the Langflow process. Corroborating signals are mixed in a way worth weighing: SSVC lists exploitation as 'poc', automatable 'yes', and technical impact 'partial', and a working PoC is public, yet EPSS is only 0.31% (22nd percentile) and the CVE is not in CISA KEV - so this is a real, easily-triggered exposure but not evidence of mass active exploitation. The practical severity hinges on deployment: a Langflow instance exposed to the internet or a shared network with no upstream auth proxy is genuinely at risk of trivial DoS, while an instance already behind SSO/network isolation is far less exposed. The 9.3 rating slightly overstates typical enterprise risk because DoS-by-disk-fill is recoverable and the confidentiality impact is limited to path disclosure, but the zero-effort exploitability means operators running exposed instances should patch promptly rather than deprioritize on the low EPSS alone.

Exploit ScenarioDerived

An attacker who can reach a Langflow server's HTTP port runs a single unauthenticated curl command (curl 'http://target:7860/api/v1/upload/11111111-1111-1111-1111-111111111111' -F 'file=@big.bin') with an arbitrary UUID, repeatedly streaming large files to exhaust the server's disk and cause denial of service. Each response also returns the absolute cache path, revealing the host username and directory layout that can aid further attacks. A public PoC exists, and no authentication, prior knowledge, or user interaction is required.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
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 – Sep 16, 2026

Unauthenticated file upload in Langflow before 1.9.1 lets any network-reachable attacker POST arbitrary files to the deprecated /api/v1/upload/{flow_id} endpoint with no credentials, no flow_id validation, and no size limit, enabling disk exhaustion (denial of service) and leaking the server's absolute cache path in the JSON response. Publicly available proof-of-concept exists (a single curl command), SSVC rates it automatable with partial technical impact, but there is no public exploit identified as actively used in the wild and EPSS is low at 0.31%.

RemediationAI

Vendor-released patch: upgrade to Langflow 1.9.1 or later, which adds the get_flow dependency (requiring an authenticated user and flow ownership, returning 404 for missing or cross-user flows) and enforces the max_file_size_upload limit with HTTP 413 on the deprecated /api/v1/upload/{flow_id} route (PR #12831). If you cannot upgrade immediately, place Langflow behind an authenticating reverse proxy or network ACL so the /api/v1/upload/ path is not reachable by unauthenticated clients, or block/deny the deprecated POST /api/v1/upload/{flow_id} endpoint at the proxy while permitting the authenticated twin at /api/v1/files/upload/{flow_id}; the trade-off is that any legacy client or SDK caller relying on the deprecated route will break until updated to send an API key. Also apply filesystem quotas or a dedicated cache partition to bound disk-exhaustion damage, and monitor the cache directory growth. Note that even after patching, the response still returns the absolute file_path, so it is disclosed only to the authenticated flow owner. See https://github.com/langflow-ai/langflow/security/advisories/GHSA-x223-p2gf-v735.

Affected VersionsENISA

langflow < 1.9.1

Affected Packages

pypi langflow fix: 1.9.1

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) visual builder for LLM/agent workflows, distributed as the PyPI package langflow (pkg:pip/langflow) and typically self-hosted on port 7860. The flaw lives in langflow/api/v1/endpoints.py, where create_upload_file is declared with only a file and a flow_id UUID path parameter and no authentication dependency and no ownership check - unlike the non-deprecated twin at /api/v1/files/upload/{flow_id}. It calls save_uploaded_file(file, folder_name=flow_id_str), which streams the body to the local filesystem cache without enforcing max_file_size_upload. The CWE-200 (Information Exposure) classification captures the returned absolute file_path (e.g. /Users/ori/Library/Caches/langflow/...), which reveals the OS user, install layout, and cache directory; however the higher-order impact is uncontrolled resource consumption from unbounded writes, which the CVSS vector reflects as A:H.

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 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H
vuln.today AI 9.3 CRITICAL

Remote, unauthenticated, no interaction (AV:N/AC:L/PR:N/UI:N); disk-exhaustion DoS gives A:H and affects the host beyond the app (S:C); path leak is C:L; no integrity impact (I:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/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
Changed
Confidentiality
Low
Integrity
None
Availability
High

DescriptionCVE.org

Summary

Unauthenticated users can upload any amount of data to the server without any limitations. No need for any prior knowledge, only network access to Langflow.

This can lead to space exhaustion on the server.

In adition, in the response, the absolute path of the uploaded file is reported to the attacker, which is an information leak that can assist in chaining other primitives.

Tested on commit 2d67402b1dbaefcbce85a244d4a6cd5e4bda1cfe

Details

Code is in langflow/api/v1/endpoints.py:

python
@router.post(
    "/upload/{flow_id}",
    status_code=HTTPStatus.CREATED,
    deprecated=True,
)
async def create_upload_file(
    file: UploadFile,
    flow_id: UUID,
) -> UploadFileResponse:
...

As can be seen above, there is no authentication. There is not validation over flow_id as well, unlike other endpoints:

        flow_id_str = str(flow_id)
        file_path = await asyncio.to_thread(save_uploaded_file, file, folder_name=flow_id_str)

Function save_uploaded_file saves the file to local file-system. Suggested fix:

  1. Add authentication to route.
  2. Only return relative path or filename.

PoC

PoC:

bash
curl 'http://localhost:7860/api/v1/upload/<any_uuid>' -F "file=@<any_file>"

Example:

bash
# curl 'http://localhost:7860/api/v1/upload/11111111-1111-1111-1111-111111111111' -F "file=@/tmp/dummy.txt"
{"flowId":"11111111-1111-1111-1111-111111111111","file_path":"/Users/ori/Library/Caches/langflow/11111111-1111-1111-1111-111111111111/9d63c3b5b7623d1fa3dc7fd1547313b9546c6d0fbbb6773a420613b7a17995c8.txt"}

Impact

  1. Space exhaustion on server that can lead to Denial-of-Service.
  2. Information leak - leakage of absolute path of langflow's cache directory in server.

Patches

Fixed in 1.9.1 via PR #12831. The deprecated POST /api/v1/upload/{flow_id} endpoint now uses the get_flow dependency, requiring an authenticated user and flow ownership (returns 404 for missing or cross-user flows), and enforces the max_file_size_upload limit (HTTP 413) - closing the unauthenticated upload and disk-exhaustion vectors. Upgrade to 1.9.1 or later.

Note: the response still returns the file's absolute path (file_path); after this fix it is only disclosed to the authenticated owner of the flow.

Ori Lahav Security Researcher @ Rubrik Inc.

Executive ViewAI

Why It Matters

Langflow deployments before version 1.9.1 can be disrupted by any attacker with network access, who can fill the server's storage and force service outages without needing valid credentials. Additionally, attackers can extract internal server path information. This vulnerability affects all networked Langflow instances and requires immediate patching.

Business Impact: High
Compensating Controls

Apply vendor patch: Langflow 1.9.1 or later. Interim mitigation if patching cannot be completed within 7 days: restrict network access to the /api/v1/upload/{flow_id} endpoint from untrusted sources.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular open-source LLM/agent builder, commonly self-hosted but not universal
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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