CVE-2026-56272: Flowise has Insufficient Password Salt Rounds
Flowise up to 3.0.12 hashes user passwords with bcrypt at only 5 salt rounds by default. If an attacker obtains the user database, they can crack the hashes about 30 times faster than at the recommended 10 rounds. Fixed in Flowise 3.0.13, which raises the rounds and rehashes existing passwords.
Published Mar 5, 2026 · Updated Jul 20, 2026 · Analysis Oct 31, 2026
What an attacker can do
getHash in packages/server/src/enterprise/utils/encryption.util.ts reads PASSWORD_SALT_HASH_ROUNDS and falls back to '5'. Five rounds means 2^5 = 32 iterations. OWASP recommends at least 10, or 1,024 iterations. The reporter estimates about 300,000 guesses per second on modern GPUs at 5 rounds against about 10,000 per second at 10. The same weak default is used in resetPassword (account.service.ts:568).
This is not a way in. The attacker first needs the password hashes, typically from a database dump, a leaked backup or SQL injection. Once they have them, weak hashing lets them recover many user passwords offline, including admin ones, and reuse them against Flowise or other services where people reused the password. The CVSS vectors rate it local, high complexity and high privileges (4.1 on v3.0). That is why it is medium.
Most deployments never set PASSWORD_SALT_HASH_ROUNDS, so they run on the weak default. Raising the setting later does not help old hashes: those created at 5 rounds stay weak until the user's password is rehashed.
Who is affected
The npm package flowise, versions <= 3.0.12, where password login with local accounts is used and PASSWORD_SALT_HASH_ROUNDS is unset or set below 10. Check the version and the setting:
npm ls -g flowise
env | grep PASSWORD_SALT_HASH_ROUNDSBcrypt hashes show their cost in the second field, as in $2b$05$..., so the stored hashes with 05 are weak.
flowise
- Ecosystem
- npm
- Affected
- <= 3.0.12
- Fixed in
- 3.0.13
- Check
npm ls flowise
How to fix it
Upgrade to flowise 3.0.13.
npm install -g [email protected]The 3.0.13 release notes (pull request 5665) say salt rounds were increased for new passwords and existing passwords were rehashed with more rounds. Rehashing a stored bcrypt hash needs the plain password, so confirm in your own database that no $2b$05$ hashes remain after users log in. Workaround on older versions: set PASSWORD_SALT_HASH_ROUNDS to 10 or higher (the advisory suggests 12), then force password resets. Protect the database and backups.
How to tell if you were hit
Inspect the password column of the user table for bcrypt hashes with a cost of 05 (the prefix $2a$05$ or $2b$05$). That shows which accounts are weakly hashed. Check whether a dump, backup or SQL error ever exposed the table. Look for logins to Flowise from unusual locations using valid credentials, and for the same passwords working on other services.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Description
The default bcrypt salt rounds is set to 5, which is below the recommended minimum for security.
Affected Code
export function getHash(value: string) {
const salt = bcrypt.genSaltSync(parseInt(process.env.PASSWORD_SALT_HASH_ROUNDS || '5'))
return bcrypt.hashSync(value, salt)
}Evidence
Using 5 salt rounds provides 2^5 = 32 iterations, which is far below the OWASP recommendation of 10 (2^10 = 1024 iterations) for bcrypt. This makes password hashes vulnerable to brute-force attacks with modern hardware.
Impact
Faster password cracking - in the event of database compromise, attackers can crack password hashes significantly faster than with proper salt rounds, potentially compromising all user accounts.
Recommendation
Increase default PASSWORD_SALT_HASH_ROUNDS to at least 10 (recommended by OWASP). Consider using 12 for better security-performance balance. Document that higher values increase login time but improve security.
Notes
The default bcrypt salt rounds is 5 (line 6), which provides only 2^5=32 iterations. OWASP recommends minimum 10 rounds (1024 iterations) for bcrypt. While configurable via PASSWORD_SALT_HASH_ROUNDS env var, the default matters because: (1) most deployments use defaults, (2) existing password hashes at 5 rounds remain vulnerable even if later increased. With modern GPUs, 5 rounds allows ~300,000 hashes/second vs ~10,000/second at 10 rounds - a 30x difference in cracking speed. In a database breach scenario, all user passwords could be cracked significantly faster. The same weak default is used in resetPassword (account.service.ts:568). This is a cryptographic weakness with real-world impact on password security.
Detection Method: Kolega.dev Deep Code Scan
| Attribute | Value | | Severity | Medium | | CWE | CWE-916 (Use of Password Hash With Insufficient Computational Effort) | | Location | packages/server/src/enterprise/utils/encryption.util.ts:5-7 | | Practical Exploitability | Medium | | Developer Approver | [email protected] |
Credited to kolega-ai-dev.
Questions
- Is Flowise 3.0.12 affected by CVE-2026-56272?
Yes. Versions up to and including 3.0.12 default to 5 bcrypt rounds. Upgrade to 3.0.13.
- Can an attacker use this without database access?
No. It only speeds up offline cracking of password hashes the attacker has already stolen. The advisory describes the risk as a database-breach scenario.
- Is setting PASSWORD_SALT_HASH_ROUNDS to 10 enough?
It protects new hashes. Existing hashes created at 5 rounds stay weak until the password is rehashed, so users should reset passwords or rely on the 3.0.13 rehash.
- Is it exploited in the wild?
No source we read says so, and it is not in CISA's KEV catalog.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Flowise vulnerabilities
All Flowise entriesCVE-2026-73483
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
critical9.4Oct 7, 2026CVE-2026-73487
Flowise Prompt Injection to RCE and SSRF via CSV/Airtable Agent Python Validator Bypass
critical9.0Oct 7, 2026CVE-2026-69250
Flowise: Unauthenticated OAuth2 Refresh Enables Non-Blind SSRF and Secret Exfiltration
high8.5Aug 4, 2026CVE-2026-69251
Flowise RCE via TypeORM DataSource
critical9.0Aug 4, 2026CVE-2026-69252
Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
high7.2Aug 4, 2026CVE-2026-69253
Flowise Sandbox Escape to RCE
critical9.0Aug 4, 2026
