Alta

FlowiseAI Exposes Basic Auth Credentials via API

  • Publicada: 14.05.2026
  • Actualizado: 11.10.2026 10:22

Detection Method: Kolega.dev Deep Code Scan

Attribute Value
Severity Medium
CWE CWE-522 (Insufficiently Protected Credentials)
Location packages/server/src/enterprise/controllers/account.controller.ts:128-135
Practical Exploitability Medium
Developer Approver faizan@kolega.ai

Description

The checkBasicAuth endpoint validates credentials in plaintext without rate limiting and with direct comparison.

Affected Code

public async checkBasicAuth(req: Request, res: Response) {
    const { username, password } = req.body
    if (username === process.env.FLOWISE_USERNAME && password === process.env.FLOWISE_PASSWORD) {
        return res.json({ message: 'Authentication successful' })

Evidence

Credentials are sent in plaintext in request body and compared directly without hashing. No rate limiting prevents brute force attacks. The endpoint returns different messages for success/failure, enabling enumeration.

Impact

Credential brute-forcing - attackers can attempt unlimited username/password combinations against the basic auth system. Successful attacks grant access to the application.

Recommendation

  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.

Notes

The checkBasicAuth endpoint at line 128-135 has multiple security issues: (1) No rate limiting - the RateLimiterManager only applies to chatflow-specific endpoints, not auth endpoints. Attackers can perform unlimited brute force attempts. (2) Uses JavaScript === operator for comparison which is not constant-time, potentially enabling timing attacks. (3) Returns different messages for success ('Authentication successful') vs failure ('Authentication failed'), enabling credential enumeration. The endpoint compares plaintext credentials against environment variables FLOWISE_USERNAME and FLOWISE_PASSWORD. While this is basic auth for simpler deployments, the lack of rate limiting makes it actively exploitable for credential brute-forcing.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de npm flowise < 3.1.2 3.1.2

Referencias

Puntuación CVSS 7.5/10
Vector CVSS
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Debilidad (CWE)
CWE-522
Plataforma
npm
Paquete
flowise
Publicada
14.05.2026
Actualizado
11.10.2026 10:22

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-php6-83fg-gw3g - CC BY 4.0

Historial de vulnerabilidades: flowise

Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (114) en el archivo
Entradas en total
114
Primera → última
04.2024 10.2026
Sin corrección
16
Explotada en ataques
0

Distribución por gravedad

  • Crítica 28
  • Alta 62
  • Media 24

Divulgaciones por año

  1. 2024: 11
  2. 2025: 22
  3. 2026: 81
Gravedad:
  1. Crítica CVE-2026-69259 < 3.1.3 3.1.3
  2. Crítica CVE-2026-69256 < 3.1.3 3.1.3
  3. Crítica CVE-2026-69253 < 3.1.3 3.1.3
  4. Crítica CVE-2026-69251 < 3.1.3 3.1.3
  5. Alta · 8.8 CVE-2026-46444 < 3.1.2 3.1.2
  6. Alta CVE-2026-46443 < 3.1.2 3.1.2
  7. Alta CVE-2026-56274 < 3.1.2 3.1.2
  8. FlowiseAI Exposes Basic Auth Credentials via API esta entrada
    Alta · 7.5 CVE-2026-46440 < 3.1.2 3.1.2
  9. Alta · 9.8 CVE-2026-41276 < 3.1.0 3.1.0
  10. Alta CVE-2026-41274 < 3.1.0 3.1.0
  11. Alta · 7.5 CVE-2026-41275 < 3.1.0 3.1.0
  12. Alta · 7.1 CVE-2026-41271 < 3.1.0 3.1.0
  13. Alta · 7.1 CVE-2026-41272 < 3.1.0 3.1.0
  14. Alta · 7.1 CVE-2026-41269 < 3.1.0 3.1.0
  15. Alta · 7.7 CVE-2026-41268 < 3.1.0 3.1.0
  16. Alta · 7.5 CVE-2026-41266 < 3.1.0 3.1.0
  17. Crítica · 8.8 CVE-2026-41137 < 3.1.0 3.1.0
  18. Crítica · 9.9 CVE-2026-40933 < 3.1.0 3.1.0
  19. Alta CVE-2026-30824 < 3.0.13 3.0.13
  20. Alta · 7.7 CVE-2026-30822 < 3.0.13 3.0.13
  21. Alta CVE-2026-30821 < 3.0.13 3.0.13
  22. Crítica · 9.9 CVE-2025-61913 < 3.0.8, < 3.0.8 3.0.8
  23. Alta · 8.3 CVE-2025-61687 >= 3.0.7, < 3.0.8 3.0.8
  24. Crítica · 9.8 CVE-2025-55346 <= 2.2.7-patch.1 sin corrección
  25. Alta CVE-2025-71336 >= 2.2.7-patch.1, < 3.0.6 3.0.6
  26. Crítica · 9.8 CVE-2025-71334 >= 2.2.8, < 3.0.6 3.0.6
  27. Crítica · 9.1 CVE-2025-71324 >= 3.0.5, < 3.0.6 3.0.6
  28. Crítica · 10.0 CVE-2025-59528 >= 3.0.5, < 3.0.6 3.0.6
  29. Alta · 7.5 CVE-2025-59527 >= 3.0.5, < 3.0.6 3.0.6
  30. Crítica · 9.1 CVE-2025-57164 >= 3.0.5, < 3.0.6 3.0.6
Mostrar más (10) Mostrando 80 de 90

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.