Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privilege Langflow API key or admin account
-
DeliveryAuthenticate to Langflow API endpoint
-
ExploitCall remove_api_keys or has_api_terms function
-
ExecutionExtract plaintext credentials from response or logs
-
ImpactUse credentials to compromise downstream service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential storage protection
|
| Exploitation Conditions | Exploitation requires the attacker to possess a high-privilege credential (admin or API key with administrative role) on the Langflow instance. This is a critical gate: the vulnerability cannot be triggered by remote unauthenticated users or low-privilege end users of Langflow flows. The vulnerability activates when the Flow Using API component is deployed and credentials have been stored via that component. No special non-default configuration is stated as required, meaning any instance running Langflow ≤1.8.3 with the Flow component enabled and at least one API key stored is vulnerable if a high-privilege actor gains access. The limiting factor is high-privilege authentication; exploitation does not require social engineering, user interaction, or race conditions (AC:L confirms this). |
| Impact | CVSS 2.7 (Low severity) reflects the constraint of PR:H (high privilege requirement), which significantly limits real-world exploitability despite AV:N (network accessible). The EPSS score and KEV status are not provided, but the public POC availability and explicit vendor non-response indicate active interest from attackers. The critical mismatch to evaluate: while the attack vector is remote and unauthenticated accessibility is not required (PR:H), the confidentiality impact is real (C:L). This is NOT a false-positive low score; it is correctly scored because a high-privilege local or API token holder must already be inside the system or authenticated. However, for multi-tenant SaaS deployments of Langflow or environments with overly permissive role-based access controls, the practical risk may be higher than CVSS suggests. The publicly available POC increases attacker capability but does not change the privilege gate. No data on patched versions or vendor response timeline is available, suggesting either ongoing development or abandoned vulnerability. |
| Exploit ScenarioDerived | An insider or attacker who has gained a high-privilege admin token or API key to a Langflow instance can call the remove_api_keys or has_api_terms functions via the Flow Using API to retrieve plaintext copies of stored third-party API credentials (e.g., OpenAI keys, database passwords). These credentials are then used to pivot to dependent services. Alternatively, if Langflow logs credentials during function execution, an attacker with log access can extract them passively. The public POC demonstrates one of these extraction methods. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Langflow up to version 1.8.3 stores API credentials without encryption in the remove_api_keys and has_api_terms functions, allowing remote attackers with high privileges to disclose sensitive credentials through the Flow Using API component. The vulnerability has publicly available exploit code, though real-world exploitation likelihood is constrained by the requirement for high-privilege access; vendor has not responded to disclosure.
RemediationAI
Primary remediation is to upgrade Langflow beyond version 1.8.3 once a patched release is available; however, no confirmed fix version has been announced by langflow-ai as of this analysis. In the interim, restrict access to the remove_api_keys and has_api_terms API endpoints to minimally-privileged service accounts only, and audit logs to detect unauthorized credential retrieval attempts. Implement network segmentation to limit which users and services can authenticate with PR:H privileges to Langflow. Additionally, disable the Flow Using API component if it is not actively used, and migrate any stored API credentials to a secrets vault (e.g., HashiCorp Vault, AWS Secrets Manager) external to Langflow with encryption at rest. Monitor Langflow's GitHub repository and advisory channels for a patched release; community forks may also publish fixes ahead of official vendor response.
Affected VersionsENISA
Affected Packages
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 AI/LLM orchestration framework built on Python. The vulnerability exists in src/backend/base/langflow/api/utils/core.py within credential handling logic for the Flow Using API component. CWE-256 (Plaintext Storage of a Password) indicates credentials are persisted or logged without encryption, cryptographic hashing, or obfuscation. This is a common misconfiguration in API utility layers where secrets are cached, logged, or returned in API responses without protective measures. Attackers with administrative or API-level privileges can retrieve these plaintext credentials to compromise downstream services that the stored API keys authenticate to.
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:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionCVE.org
A weakness has been identified in langflow-ai langflow up to 1.8.3. Impacted is the function remove_api_keys/has_api_terms of the file src/backend/base/langflow/api/utils/core.py of the component Flow Using API. This manipulation causes unprotected storage of credentials. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in langflow-ai langflow Multiple Vulnerabilities
View all 5Langflow 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-23746
GHSA-5jjf-wcvf-923w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB