Skip to content
HighVulnerability

GHSA-php6-83fg-gw3g: FlowiseAI Exposes Basic Auth Credentials via API

Published
Record updated
View JSON
Affected
  • flowise <= 3.1.1
Fixed in
3.1.2
  • released April 14, 2026, 30 days before disclosure

Summary

A Kolega.dev Deep Code Scan flagged the checkBasicAuth endpoint in FlowiseAI at packages/server/src/enterprise/controllers/account.controller.ts:128-135 as Medium severity under CWE-522 (Insufficiently Protected Credentials). The endpoint compares plaintext username and password from the request body directly against the FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables, with no rate limiting and different responses for success and failure. Attackers can therefore attempt unlimited credential brute-forcing and enumerate valid credentials.

Mitigation

1) Implement rate limiting on this endpoint, 2) Use constant-time comparison to prevent timing attacks, 3) Consider using hashed comparison, 4) Return generic error messages, 5) Add logging for failed attempts.