Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Despite the absence of a CVSS score and vector, this vulnerability presents moderate to high real-world risk based on available signals. The attack vector is network-based and requires no privileges (unauthenticated access), making exploitation trivial and automatable at scale. CWE-862 (Missing Authorization) frequently results in data exfiltration and information disclosure in production environments. The Tenable disclosure and lack of KEV or POC status suggest this is a recently disclosed, non-exploited-in-the-wild vulnerability, but the simplicity of the attack (predictable URL enumeration) and the sensitivity of flow-associated image data elevates priority. Organizations running Langflow should treat this as a high-priority remediation candidate, particularly if flows contain proprietary visual content, training data, or embedded secrets. The vulnerability is automatable and introduces avoidable risk with straightforward patching. |
| Exploit ScenarioDerived | An attacker discovers or obtains a Langflow deployment URL and begins enumerating the image endpoint with common or sequential flow IDs (e.g., 1, 2, 3, or known project names). For each flow ID, the attacker iterates through predictable file names (e.g., 'diagram.png', 'output_0.jpg', 'training_data.png') and receives unguarded access to download image assets. No authentication or session token is required, and the endpoint returns HTTP 200 for valid resources. The attacker can rapidly exfiltrate sensitive visual content, training data diagrams, or embedded configuration images without triggering authorization denials or audit alerts. This is particularly damaging in multi-tenant or SaaS deployments where flows and their associated images contain proprietary business logic or customer data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
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.
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.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Langflow 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
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
Primary rating from Vendor (tenable) · only source for this CVE.
CVSS VectorVendor: tenable
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.
Executive ViewAI
CVE-2026-5022 presents moderate security risk, a missing authorization vulnerability rated CVSS 6.3. Attackers could gain access beyond their authorized level. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Langflow before 1.3.0 allows unauthenticated remote code injection through the /api/v1/validate/code endpoint, enabling
Langflow has a third RCE vulnerability via exec_globals (EPSS 10.0%) allowing inclusion of untrusted code that executes
Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfigurati
Langflow has a code injection vulnerability in the code component (EPSS 2.6%) enabling remote code execution through the
Langflow has an eval injection in eval_custom_component_code (EPSS 2.0%) enabling remote code execution through crafted
Remote code execution in IBM Langflow OSS 1.0.0 through 1.9.3 lets an unauthenticated attacker inject and run arbitrary
Code injection in Langflow CSV Agent node before 1.8.0. The node hardcodes allow_dangerous_code=True, enabling arbitrary
Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_compo
OS command injection in Langflow's MCP stdio transport allows an attacker who can reach the MCP server configuration end
langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the
langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.
Langflow before 1.7.0.dev45 exposes multiple API endpoints without authentication, allowing unauthenticated access to us
EUVD-2026-16662
GHSA-jvx2-jcjj-x36h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB