Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Langflow platform
-
DeliveryNavigate to project creation endpoint
-
ExploitSubmit POST request with auth_settings parameter
-
InstallTrigger create_project/encrypt_auth_settings function
-
C2Credentials stored in plaintext on disk
-
ExecuteAttacker reads plaintext auth_settings from project configuration file
-
ImpactStolen credentials used against downstream services
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V14 - Data Protection File/disk data protection
|
| Exploitation Conditions | An authenticated Langflow user account is required to invoke the project creation endpoint; the vulnerability cannot be exploited by unauthenticated remote attackers. The attack requires submission of the auth_settings parameter to the /api/v1/projects POST endpoint - this parameter is typically populated when users configure authentication for downstream services (e.g., LLM API keys, database credentials). The encryption function is intended to protect these settings but fails to do so, meaning any project creation request with auth_settings will result in plaintext storage. No additional non-default configuration is required; the vulnerability exists in the default behavior of the project creation function. Exploitation is limited to reading stored credentials and does not permit modification or deletion of project data, as the CVSS vector shows no integrity or availability impact. |
| Impact | The CVSS score of 4.3 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N reflects low-to-moderate severity: network-accessible, low attack complexity, and low confidentiality impact, but requiring prior authentication (PR:L). The E:P evidence modifier indicates publicly available proof-of-concept code, elevating practical risk beyond the base score. The lack of integrity or availability impact limits immediate system compromise, but exposed authentication settings create secondary risks: stored API keys, database credentials, or third-party service tokens could enable privilege escalation or lateral movement in downstream systems. The combination of low barrier to entry (authenticated user, no interaction), persistent nature of the flaw, and vendor non-response suggests this warrants immediate attention for organizations running Langflow. However, the attack requires valid user credentials to the Langflow platform itself, which partially mitigates risk in air-gapped or internally-deployed instances. Real-world priority depends on whether Langflow instances are internet-facing and whether user authentication is properly enforced. |
| Exploit ScenarioDerived | A legitimate Langflow user with valid authentication credentials creates a new project and supplies third-party service authentication details (e.g., OpenAI API key, database password) via the auth_settings parameter. Instead of being encrypted and stored securely, these credentials are written in plaintext to the project configuration file on the server's filesystem. An attacker with read access to the server's filesystem (via another vulnerability, insider threat, or backup exposure) retrieves the plaintext credentials and uses them to compromise downstream services or exfiltrate sensitive data. Publicly available exploit code demonstrates this plaintext extraction, enabling rapid weaponization. |
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 authentication settings in cleartext on disk when processing project creation requests, allowing authenticated remote attackers to read sensitive credentials. The vulnerability exists in the create_project/encrypt_auth_settings function within the Project Creation Endpoint, where the auth_settings parameter bypasses encryption despite the function's intent. Publicly available exploit code exists, and the vendor has not released a patch or responded to disclosure notices.
RemediationAI
No vendor-released patch has been identified at time of analysis, and the vendor has not responded to early disclosure attempts. Immediate mitigation requires upgrading to a patched version once available; organizations should monitor the Langflow GitHub repository and official release channels for security updates. As interim compensating controls, restrict network access to Langflow project creation endpoints using network segmentation or reverse proxy rules - allow only authorized internal users or IP ranges to reach /api/v1/projects. Disable user self-service project creation if business logic permits, centralizing project setup to trusted administrators who can verify secure handling. Enable filesystem encryption at rest for all directories containing Langflow's persistent storage (project configuration files), though this protects against physical/offline access but not runtime plaintext exposure. Audit existing projects and rotate any stored authentication credentials (API keys, database passwords, service tokens) exposed through this vulnerability in downstream systems. Consider deploying a secrets management solution (e.g., HashiCorp Vault, AWS Secrets Manager) external to Langflow and modify application code to retrieve credentials dynamically rather than storing them in project configurations.
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 open-source framework for building generative AI applications. The vulnerability resides in the project creation endpoint's authentication settings handler (src/backend/base/Langflow/api/v1/projects.py). The encrypt_auth_settings function is intended to securely encrypt sensitive authentication credentials before persisting them to disk; however, the implementation fails to properly encrypt the auth_settings parameter, resulting in plaintext storage. This violates the confidentiality principle of secure credential management. The underlying issue is classified as CWE-313 (Cleartext Storage of Sensitive Information), a direct information disclosure flaw where sensitive data meant for encryption is written to persistent storage without proper cryptographic protection.
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:L/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
5DescriptionCVE.org
A security vulnerability has been detected in langflow-ai langflow up to 1.8.3. The affected element is the function create_project/encrypt_auth_settings of the file src/backend/base/Langflow/api/v1/projects.py of the component Project Creation Endpoint. Such manipulation of the argument auth_settings leads to cleartext storage in a file or on disk. The attack can be launched remotely. The exploit has been disclosed publicly and may be used. 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-23760
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB