Skip to main content

Langflow EUVDEUVD-2026-38517

| CVE-2026-55255 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-06-19 https://github.com/langflow-ai/langflow GHSA-qrpv-q767-xqq2
8.4
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
    Obtain valid Langflow API key
  2. Delivery
    Learn victim flow UUID
  3. Exploit
    POST UUID as model to /api/v1/responses
  4. Execution
    Helper resolves flow without ownership check
  5. Persist
    Victim flow executes
  6. Impact
    Exfiltrate output and consume victim resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires a valid Langflow API key (authenticated, PR:L) and knowledge of the victim's flow UUID, which the attacker supplies as the model field in a POST to /api/v1/responses (also reachable via /api/v1/run* and /api/v2/workflow). The primary limiting factor is the flow UUID itself: it is a random, unguessable identifier and is not enumerable, so the attack is not automatable at scale (SSVC Automatable=no, hence AC:H) and depends on the attacker learning the ID out-of-band. The vulnerability is most impactful on multi-tenant or multi-user deployments where distinct users own separate flows; a single-user instance has no cross-user boundary to violate. Webhook routes are intentionally excluded (public by design), and the fixed helper causes cross-user lookups to return 404, so post-patch there is neither access nor an existence oracle.

Impact

Signals here conflict and should be reconciled before prioritization. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L, 8.4 High) reflects a network-reachable but authenticated attack of high complexity - high because the attacker must know or obtain the victim's flow UUID, which is an unguessable identifier, not enumerable. SSVC corroborates this: Automatable=no (no reliable mass-exploitation because the UUID must be known), Technical Impact=total, Exploitation=poc. EPSS is low at 0.24% (14th percentile), consistent with targeted rather than opportunistic use. The notable conflict: the input marks CISA KEV=YES (actively exploited) while SSVC records exploitation only as 'poc' and EPSS is low - these are inconsistent. If the KEV listing is accurate, exploitation is likely targeted (attacker already inside a multi-tenant instance and knows a victim flow ID) rather than widespread, which fits the low EPSS. Verify the KEV entry directly against CISA before treating this as broadly weaponized. Net: a genuine priority for multi-tenant/shared Langflow deployments given total technical impact and low bar (valid API key + known flow ID), but the AC:H/PR:L prerequisites cap real-world spread.

Exploit ScenarioDerived

An attacker holding any valid Langflow API key on a shared, multi-tenant instance obtains another user's flow UUID (from logs, a shared link, prior collaboration, or leakage) and sends a POST to /api/v1/responses with model set to that UUID. The server executes the victim's flow and returns its output, letting the attacker read data the flow processes and burn the victim's compute/API quota. A working curl PoC is publicly available; the AV:N/AC:H/PR:L profile means it is remotely reachable but requires the authenticated attacker to already know the target flow ID.

Act Now Prioritize within 24-48h. Why: In CISA KEV with patch available.
Exploited in the wild (CISA KEV) Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv3 – Jul 07, 2026

Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing the victim's flow UUID as the model value to the /api/v1/responses endpoint, exposing data the victim's flow processes and consuming their resources. The flaw is an Insecure Direct Object Reference (CWE-639) in the get_flow_by_id_or_endpoint_name helper, which skipped ownership checks on the UUID lookup path. Publicly available exploit code exists (a working curl PoC), and the input lists it as confirmed actively exploited (CISA KEV), though the SSVC exploitation status of 'poc' and a low 0.24% EPSS complicate that claim (see risk_assessment).

Earlier versions of this analysis (2)
v2 Jul 07, 2026 - 23:28 cvss changed CVSS 8.4

Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by submitting the victim's flow UUID as the model parameter to the /api/v1/responses endpoint. The IDOR stems from the get_flow_by_id_or_endpoint_name helper resolving flows by UUID with no ownership check, exposing sensitive data processed by victim flows and consuming their resources. It is listed as confirmed actively exploited (CISA KEV), publicly available exploit code exists (a working curl PoC is in the advisory), though EPSS probability is only 0.24% (14th percentile).

v1 Jun 19, 2026 - 23:33 CVSS 9.9

Cross-user flow execution in Langflow versions prior to 1.9.1 allows any authenticated API user to run another user's flows by submitting the victim's flow UUID to the /api/v1/responses endpoint. The flaw stems from a missing ownership check in the get_flow_by_id_or_endpoint_name helper, with a working PoC published in the GHSA advisory; no public exploit identified at time of analysis in the form of mass exploitation, and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade Langflow to 1.9.1 or later (EUVD indicates 1.9.2 as a safe floor, so prefer 1.9.2+ to reconcile the version discrepancy); the fix is PR #12832 / commit 2c9f498d664a3c32698b57d7c5e752625291060e, detailed in advisory https://github.com/langflow-ai/langflow/security/advisories/GHSA-qrpv-q767-xqq2. If you cannot patch immediately, restrict network access to the /api/v1/responses, /api/v1/run*, and /api/v2/workflow endpoints to trusted callers (for example via a reverse proxy or network policy) and treat every issued API key as capable of executing any flow - revoke or tightly scope keys and avoid running untrusted tenants on a shared instance, since the platform provides no per-flow ownership enforcement pre-1.9.1. Because flow IDs are UUIDs, avoid logging or exposing them where other tenants can read them, as knowledge of the UUID is the practical exploitation prerequisite; note these controls reduce but do not eliminate risk from any already-authenticated user who has learned a victim flow ID.

Affected VersionsENISA

langflow < 1.9.2

Affected Packages

pypi langflow fix: 1.9.1, 1.9.2

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 an open-source, Python-based visual builder for LLM/agent workflows ('flows') exposing an OpenAI-compatible responses API. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): in src/backend/base/langflow/helpers/flow.py, get_flow_by_id_or_endpoint_name resolved a flow via session.get(Flow, flow_id) whenever the supplied identifier parsed as a UUID, performing no Flow.user_id == caller check; only the fallback endpoint_name branch filtered by user, and even then only when a truthy user_id was passed. Because /api/v1/responses (openai_responses.py:589) and the /run* routes wired this helper as a bare FastAPI Depends, the user_id came from an unset query parameter, so lookups ran unscoped. Affected package is pkg:pip/langflow. The fix (PR #12832) normalizes user_id once, nulls the flow on any cross-user match so a shared 404 fires (avoiding a 403-vs-404 existence oracle), fails closed to 404 on malformed user_id, and moves the /run* routes onto auth-aware wrapper dependencies.

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

Network endpoint but attacker needs a valid API key (PR:L) and an unguessable flow UUID (AC:H); crossing into another user's authorization scope justifies S:C, with full data/execution impact and resource consumption (A:L).

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

Lifecycle Timeline

6
Analysis Updated
Jul 07, 2026 - 23:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 07, 2026 - 23:28 vuln.today
v2 - CVSS changed
Severity Changed
Jul 07, 2026 - 23:22 NVD
CRITICAL HIGH
CVSS changed
Jul 07, 2026 - 23:22 NVD
9.9 (CRITICAL) 8.4 (HIGH)
Added to CISA KEV
Jul 07, 2026 - 17:16 CISA
CVE Published
Jun 19, 2026 - 21:16 github-advisory
CRITICAL 9.9

DescriptionCVE.org

Summary

Insecure Direct Object Reference (IDOR) vulnerability in /api/v1/responses endpoint allows an authenticated attacker to execute any flow belonging to another user by specifying the victim's flow ID in the request.

Details

The vulnerability exists in the get_flow_by_id_or_endpoint_name helper function in src/backend/base/langflow/helpers/flow.py (lines 399-414).

When a flow is accessed via UUID (flow_id), the function queries the database directly without verifying if the authenticated user owns that flow:

python
# src/backend/base/langflow/helpers/flow.py:399-414
async def get_flow_by_id_or_endpoint_name(flow_id_or_name: str, user_id: str | UUID | None = None) -> FlowRead:
    async with session_scope() as session:
        try:
            flow_id = UUID(flow_id_or_name)
# When using UUID, query directly WITHOUT checking user_id
            flow = await session.get(Flow, flow_id)
# ❌ No user_id check!
        except ValueError:
            endpoint_name = flow_id_or_name
            stmt = select(Flow).where(Flow.endpoint_name == endpoint_name)
# Only when using endpoint_name is user_id checked
            if user_id:
                stmt = stmt.where(Flow.user_id == uuid_user_id)

This function is used by the /api/v1/responses endpoint (defined in src/backend/base/langflow/api/v1/openai_responses.py:589).

PoC (Proof of Concept)

bash
# Attacker (user A) with API_KEY_A tries to execute victim (user B)'s flow
curl -X POST "http://localhost:7860/api/v1/responses" \
  -H "x-api-key: sk-ATTACKER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "VICTIM_FLOW_ID",
    "input_value": "test",
    "stream": false
  }'
# Returns 200 and executes the victim's flow

Impact

Any authenticated user can:

  1. Execute any flow in the system by knowing its flow ID
  2. Access potentially sensitive data processed by victim's flows
  3. Consume victim's resources

Fixes

Fixed in PR #12832 (fix(security): close IDOR in get_flow_by_id_or_endpoint_name), merged 2026-04-22, released in Langflow 1.9.1.

The helper normalizes user_id once and enforces ownership on both lookup branches (UUID *and* endpoint_name):

python
flow_id = UUID(flow_id_or_name)
flow = await session.get(Flow, flow_id)
if flow is not None and uuid_user_id is not None and flow.user_id != uuid_user_id:
    flow = None
# cross-user lookup falls through to the shared 404

Key points:

  • Cross-user lookups return 404 (not 403), so flow existence is not disclosed via a 403-vs-404 oracle.
  • /api/v1/responses and /api/v2/workflow pass user_id explicitly, so fixing the helper closes them directly; the /api/v1/run* routes were additionally moved from a bare Depends(get_flow_by_id_or_endpoint_name) to auth-aware wrapper dependencies (defense in depth).
  • A malformed user_id now fails closed (404 instead of a raw 500).
  • Webhook routes intentionally keep the unscoped lookup (public by design / explicit ownership check elsewhere).
  • Regression tests cover the cross-user UUID case and reproduce the original PoC against /api/v1/responses.

Acknowledgements

Thanks to the security researchers who responsibly disclosed this vulnerability:

  • @yzeirnials
  • @johnatzeropath
  • @LeftenantZero
  • @Zwique

Executive ViewAI

Why It Matters

Langflow versions before 1.9.1 allow authenticated users to execute other users' workflows, exposing sensitive business data and computing resources. The vulnerability is confirmed actively exploited (CISA KEV), requiring immediate remediation for organizations running affected versions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Threat Score
4.7/10
Composite threat intelligence
EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular open-source LLM/agent flow builder, moderate production footprint
Threat Intel
2
1 sources
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org CISA KEV EPSS Vulnrichment NEWS 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 Yes
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat Yes
Deciding rule
In CISA KEV with patch 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
No
Human Impact
High
Technical Impact
Total

Priority Score

112
Low Medium High Critical
KEV: +50
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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