Skip to main content

Langflow CVE-2026-5022

| EUVDEUVD-2026-16662 MEDIUM
Missing Authorization (CWE-862)
2026-03-27 tenable GHSA-jvx2-jcjj-x36h
6.3
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
EUVD ID Assigned
Mar 27, 2026 - 14:45 euvd
EUVD-2026-16662
Analysis Generated
Mar 27, 2026 - 14:45 vuln.today
CVE Published
Mar 27, 2026 - 14:34 nvd
MEDIUM 6.3

DescriptionCVE.org

The '/api/v1/files/images/{flow_id}/{file_name}' endpoint does not enforce any authentication or authorization checks, allowing any unauthenticated user to download images belonging to any flow by knowing (or guessing) the flow ID and file name.

AnalysisAI

Langflow's '/api/v1/files/images/{flow_id}/{file_name}' endpoint lacks authentication and authorization enforcement, permitting unauthenticated users to download arbitrary images associated with any flow by supplying or enumerating flow IDs and file names. This authentication bypass affects all versions of Langflow AI's langflow product and enables unauthorized disclosure of potentially sensitive image assets. No public exploit code or active exploitation has been confirmed at the time of analysis.

Technical ContextAI

The vulnerability resides in Langflow AI's file serving API endpoint (cpe:2.3:a:langflow-ai:langflow:*:*:*:*:*:*:*:*), which implements path-based resource retrieval without enforcing identity verification or permission checks. The root cause falls under CWE-862 (Missing Authorization), a common architectural flaw in RESTful API design where file download endpoints are exposed without middleware or handler-level authentication guards. An attacker can directly request resources by constructing URLs with known or guessed flow identifiers and file names, bypassing session validation and role-based access controls entirely. The attack surface is particularly broad because flow IDs and file names may follow predictable patterns or be discoverable through other means.

RemediationAI

Immediately review Tenable's advisory at https://www.tenable.com/security/research/tra-2026-23 for available patch guidance and apply any vendor-released updates to Langflow. As an interim mitigation, restrict network access to the '/api/v1/files/images/' endpoint via firewall or reverse proxy rules, permitting requests only from trusted internal networks or authenticated client IP ranges. Implement authentication middleware at the API gateway or application level to enforce session validation and RBAC checks before image downloads are served. Audit access logs for unauthorized enumeration attempts (multiple 200 or 404 responses to flow_id/{file_name} patterns) and consider rate-limiting image download endpoints to reduce the speed of automated harvesting. Until patching is complete, disable public exposure of Langflow instances or require VPN/SSH tunnel access.

CVE-2025-3248 CRITICAL POC
9.8 Apr 07

Langflow before 1.3.0 allows unauthenticated remote code injection through the /api/v1/validate/code endpoint, enabling

CVE-2025-34291 CRITICAL POC
9.4 Dec 05

Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfigurati

CVE-2026-0770 CRITICAL POC
9.8 Jan 23

Langflow has a third RCE vulnerability via exec_globals (EPSS 10.0%) allowing inclusion of untrusted code that executes

CVE-2026-27966 CRITICAL POC
9.8 Feb 26

Code injection in Langflow CSV Agent node before 1.8.0. The node hardcodes allow_dangerous_code=True, enabling arbitrary

CVE-2024-48061 CRITICAL POC
9.8 Nov 04

langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the

CVE-2024-42835 CRITICAL POC
9.8 Oct 31

langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.

CVE-2024-37014 CRITICAL POC
9.8 Jun 10

Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_compo

CVE-2026-21445 CRITICAL POC
9.1 Jan 02

Langflow before 1.7.0.dev45 exposes multiple API endpoints without authentication, allowing unauthenticated access to us

CVE-2024-7297 HIGH POC
8.8 Jul 30

Langflow versions prior to 1.0.13 suffer from a Privilege Escalation vulnerability, allowing a remote and low privileged

CVE-2026-0768 CRITICAL
9.8 Jan 23

Langflow has a code injection vulnerability in the code component (EPSS 2.6%) enabling remote code execution through the

CVE-2026-0769 CRITICAL
9.8 Jan 23

Langflow has an eval injection in eval_custom_component_code (EPSS 2.0%) enabling remote code execution through crafted

CVE-2026-10134 CRITICAL
10.0 Jun 30

Remote code execution in IBM Langflow OSS 1.0.0 through 1.9.3 lets an unauthenticated attacker inject and run arbitrary

Share

CVE-2026-5022 vulnerability details – vuln.today

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