CVE-2026-56272
JSON

5.6medium

Flowise - Insufficient Password Salt Rounds in Bcrypt Hashing

Severity
5.6medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.10% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-x2g5-fvc2-gqvp

Description

Flowise before 3.0.13 uses bcrypt with default salt rounds of 5, providing only 32 iterations instead of the OWASP-recommended minimum of 10 rounds. Attackers can crack password hashes approximately 30 times faster with modern GPU hardware, potentially compromising all user accounts in a database breach scenario.

Affected

Product or packageVersionsReported by
Flowise Flowisebefore 3.0.13
Not affected: 3.0.13
CVE List
flowise (npm)before 3.0.13GitHub Advisory Database
flowiseai flowisebefore 3.0.13NVD

All scores

VulnCheck5.6medium CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck4.1medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHub4.1medium CVSS:3.0CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Classification

CWE-328CWE-916

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Flowise before 3.0.13 uses bcrypt with default salt rounds of 5, providing only 32 iterations instead of the OWASP-recommended minimum of 10 rounds. Attackers can crack password hashes approximately 30 times faster with modern GPU hardware, potentially compromising all user accounts in a database breach scenario.

GitHub Advisory Database
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

AttributeValue
SeverityMedium
CWECWE-916 (Use of Password Hash With Insufficient Computational Effort)
Locationpackages/server/src/enterprise/utils/encryption.util.ts:5-7
Practical ExploitabilityMedium
Developer Approverfaizan@kolega.ai
NVD (es)

Flowise antes de 3.0.13 utiliza bcrypt con rondas de sal predeterminadas de 5, proporcionando solo 32 iteraciones en lugar del mínimo de 10 rondas recomendado por OWASP. Los atacantes pueden descifrar hashes de contraseñas aproximadamente 30 veces más rápido con hardware de GPU moderno, comprometiendo potencialmente todas las cuentas de usuario en un escenario de violación de base de datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56272 changed 2026-06-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-x2g5-fvc2-gqvp changed 2026-07-20CC-BY-4.0
NVDCVE-2026-56272 changed 2026-10-25Public domain