Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Recovering the weak key and matching ciphertext raises complexity (AC:H); high confidentiality/integrity loss over stored secrets but no direct availability impact (A:N), so slightly below IBM's 9.8.
Primary rating from Vendor (ibm).
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
IBM Langflow OSS contains a weak cryptographic key derivation vulnerability in the ensure_fernet_key() function.
AnalysisAI
Predictable Fernet encryption key generation in IBM Langflow OSS (versions 1.0.0 through 1.10.3) stems from the ensure_fernet_key() function deriving keys from a cryptographically weak source (CWE-338), letting an attacker reconstruct the symmetric key that protects stored secrets such as API keys, credentials, and connection variables. Because the key is guessable rather than random, an actor who can read Langflow's encrypted data store can decrypt it and, depending on how the key is reused, potentially forge or tamper with protected values. There is no public exploit identified at time of analysis and EPSS is low (0.21%, 11th percentile), but IBM rates the flaw CVSS 9.8 and a vendor patch is available.
Technical ContextAI
Langflow is an open-source, Python-based low-code platform for visually building LLM and AI-agent workflows; it persists sensitive workflow secrets (model provider API keys, database and service credentials, global variables) in encrypted form. It uses Fernet, a symmetric authenticated-encryption scheme from the Python 'cryptography' library that requires a 32-byte key. The vulnerability lives in ensure_fernet_key(), the routine responsible for producing or normalizing that key: per CWE-338 (Use of a Cryptographically Weak Pseudo-Random Number Generator) the key material is derived from insufficient entropy or a predictable source rather than a CSPRNG, so the effective key space is small enough to reproduce or brute force. Because Fernet's confidentiality and integrity guarantees collapse entirely once the key is known, a weak key nullifies the protection over every secret encrypted with it. The affected component is identified by cpe:2.3:a:ibm:langflow_oss:*:*:*:*:*:*:*:*.
RemediationAI
Upgrade to a fixed release of IBM Langflow OSS above 1.10.3 as directed by the IBM advisory at https://www.ibm.com/support/pages/node/7282648 (patch confirmed available per vendor; an exact fixed version number is not stated in the provided data, so confirm the target release in that advisory before deploying). Because the underlying issue is a weakly derived encryption key, patching alone is insufficient if a weak key is already in use: after upgrading, rotate the Fernet/secret key and re-encrypt or re-enter all stored secrets, and rotate the underlying credentials (model provider API keys, database and service passwords) that were protected under the old key, since they must be treated as potentially recoverable. As compensating controls until you can patch, restrict network exposure of the Langflow instance (place it behind authentication/VPN and block direct internet access to its port), tightly limit filesystem and database access to the encrypted secret store, and avoid loading high-value long-lived credentials into affected instances; the trade-off is reduced accessibility for legitimate users and no protection for secrets already encrypted with a weak key.
More in Langflow Oss
View allUnauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets any network-reachable attac
Authenticated command injection in IBM Langflow OSS 1.0.0 through 1.11.1 lets any logged-in flow user escalate to arbitr
Code injection in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets an authenticated user execute arbitrary operating-
Remote code execution in IBM Langflow OSS 1.0.0 through 1.11.1 allows a network-accessible authenticated attacker with l
Authentication bypass in IBM Langflow OSS 1.0.0 through 1.10.0 lets an unauthenticated remote attacker retrieve a long-l
Remote code execution in IBM Langflow OSS versions 1.0.0 through 1.11.5 allows an unauthenticated remote attacker to run
Remote OS command execution in IBM Langflow OSS (versions 1.0.0 through 1.11.5) lets remote attackers run arbitrary oper
Unauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.9.3 allows attackers to fully comprom
Arbitrary Python code execution in IBM Langflow OSS 1.0.0 through 1.10.0 (Langflow versions up to 1.9.2) allows authenti
Remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 allows attackers to run arbitrary code by planting a mali
Authenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 lets any logged-in user run arbitrary Pytho
Arbitrary file write in IBM Langflow OSS 1.0.0 through 1.10.0 lets an attacker who controls an external HTTP server plan
Same technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53547
GHSA-9pw3-x84f-xcwf