Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Langflow - #VU142384

 

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Langflow - #VU142384

Published: August 13, 2026


Vulnerability identifier: #VU142384
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information and compromise the integrity of stored credentials.

The vulnerability exists due to weak prng-based cryptographic key derivation in the Fernet key derivation logic in src/backend/base/langflow/services/auth/service.py and src/backend/base/langflow/services/auth/utils.py when deriving the encryption key from the SECRET_KEY. A remote attacker can obtain the SECRET_KEY and encrypted credential data to decrypt stored credentials offline to disclose sensitive information and compromise the integrity of stored credentials.

All credential-type variables are encrypted under a shared instance-wide key, so a single exposed secret can affect credentials stored by all users on the instance.


Affected software

Langflow

Remediation

Install security update from vendor's website.

Langflow - update to 1.10.1

External References

Related Security Bulletins