Langflow weak Fernet key derivation from short SECRET_KEY (CVE-2026-9205)
Summary
Per the GitHub advisory, Langflow 1.10.0 and earlier seeded Python's non-cryptographic random module with SECRET_KEY to derive the credential encryption key when SECRET_KEY was under 32 characters. An attacker with the SECRET_KEY and the stored ciphertext can rebuild the key offline. Version 1.10.1 uses SHA-256 for keys under 32 characters; the default 43-character key was never affected by the PRNG issue. IBM lists 1.0.0 to 1.10.3 as affected and recommends 1.11.0 or newer.
Severity
Timeline
Pull request #13704, which derives the short-key Fernet key with SHA-256, was merged into the release-1.10.1 branch.
IBM published its security bulletin covering CVE-2026-9205.
The GitHub advisory page shows GHSA-jxw3-mjmx-3pqm as published.
The advisory record lists a published time of 2026-10-05T22:31:35Z.
How it happened
Per the advisory, credential-type variables are encrypted with a Fernet key derived from SECRET_KEY. Under 32 characters the key comes from random.seed(SECRET_KEY); at 32 or more the raw key is used directly. The advisory's chain reads both the secret_key file and the database ciphertext through an MCP path traversal that needs any authenticated user, not admin, and decrypts offline. The scores differ: the GitHub advisory gives CVSS 9.1 and labels it critical; IBM's bulletin gives CVSS 7.4 with a different vector (AC:H, attack complexity High) and, in the text shown, no severity label.
How to check your app
- GitHub advisory range, <= 1.10.0: Check the installed langflow version against the fixed release 1.10.1.
- IBM bulletin range, 1.0.0 to 1.10.3: Check the installed version against IBM's listed range, which extends past 1.10.0; IBM recommends 1.11.0 or newer.
- <= 1.10.0, explicitly set SECRET_KEY: Check whether SECRET_KEY is shorter than 32 characters, which selects the PRNG-derived key. The default generated 43-character key was never affected by the PRNG issue.
Sources
Corrections and updates
Cite this entry
- Title
- Langflow weak Fernet key derivation from short SECRET_KEY (CVE-2026-9205)
- Added
- Nov 20, 2026
- URL
- https://vibeincidents.com/incidents/langflow-cve-2026-9205/
- Suggested citation
VibeIncidents. "Langflow weak Fernet key derivation from short SECRET_KEY (CVE-2026-9205)." Nov 20, 2026. https://vibeincidents.com/incidents/langflow-cve-2026-9205/