CVE-2026-6597 in langflowinfo

Summary

by MITRE • 04/20/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 06/05/2026

The vulnerability identified in langflow-ai langflow version 1.8.3 represents a critical security flaw in the credential handling mechanism within the Flow Using API component. This weakness specifically affects the remove_api_keys and has_api_terms functions located in src/backend/base/langflow/api/utils/core.py, where sensitive authentication data is improperly stored without adequate protection measures. The flaw constitutes a direct violation of security best practices for credential management and represents a significant risk to systems utilizing this software.

The technical implementation of this vulnerability stems from the improper handling of API keys during flow processing operations. When the remove_api_keys function processes credential data, it fails to adequately sanitize or encrypt sensitive information before storage, while the has_api_terms function does not properly validate or secure API key references. This creates a persistent exposure where authentication credentials can be accessed through the file system or memory dumps, directly correlating to CWE-312 (Sensitive Data Exposure) and CWE-522 (Insufficiently Protected Credentials) classifications. The vulnerability operates at the application layer and specifically targets the core API functionality that processes workflow definitions containing API key references.

The operational impact of this vulnerability is severe and multifaceted, as it enables remote attackers to exploit the unprotected credential storage through publicly available exploit code. The fact that the exploit has been made publicly available significantly increases the risk surface and attack surface for affected systems. An attacker could potentially access stored API keys, which may provide unauthorized access to cloud services, databases, and other systems protected by these credentials. This vulnerability directly maps to attack techniques described in the MITRE ATT&CK framework under T1552 (Unsecured Credentials) and T1078 (Valid Accounts) where attackers leverage compromised credentials to maintain persistent access and escalate privileges. The remote exploit capability means that attackers do not require physical access to the system and can target vulnerable installations over network connections.

The lack of vendor response to early disclosure attempts compounds the severity of this vulnerability, leaving affected organizations without official patches or mitigation guidance. This creates an urgent security risk for users who may be unknowingly storing sensitive credentials in vulnerable installations. Organizations should immediately implement compensating controls such as restricting file system access to the affected component, implementing network segmentation to limit exposure, and conducting thorough credential rotation for any systems known to be running vulnerable versions. Additionally, monitoring for unauthorized access attempts and credential usage patterns should be enhanced to detect potential exploitation attempts. The vulnerability demonstrates the critical importance of proper credential lifecycle management and secure coding practices, particularly when handling authentication data in application frameworks that process user-defined workflows and integrations.

Responsible

VulDB

Disclosure

04/20/2026

Moderation

accepted

Exploit

Download

EPSS

0.00377

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!