Hoch

FlowiseAI Exposes Basic Auth Credentials via API

  • Veröffentlicht: 14.05.2026
  • Aktualisiert: 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.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
npm-Paket flowise < 3.1.2 3.1.2

Verweise

CVSS-Wert 7.5/10
CVSS-Vektor
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Schwäche (CWE)
CWE-522
Plattform
npm
Paket
flowise
Veröffentlicht
14.05.2026
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

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

Schwachstellenhistorie: flowise

Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (114) im Archiv
Einträge insgesamt
114
Erste → letzte
04.2024 10.2026
Ohne Fix
16
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 28
  • Hoch 62
  • Mittel 24

Veröffentlichungen pro Jahr

  1. 2024: 11
  2. 2025: 22
  3. 2026: 81
Schweregrad:
  1. Kritisch CVE-2026-69259 < 3.1.3 3.1.3
  2. Kritisch CVE-2026-69256 < 3.1.3 3.1.3
  3. Kritisch CVE-2026-69253 < 3.1.3 3.1.3
  4. Kritisch CVE-2026-69251 < 3.1.3 3.1.3
  5. Hoch · 8.8 CVE-2026-46444 < 3.1.2 3.1.2
  6. Hoch CVE-2026-46443 < 3.1.2 3.1.2
  7. Hoch CVE-2026-56274 < 3.1.2 3.1.2
  8. FlowiseAI Exposes Basic Auth Credentials via API dieser Eintrag
    Hoch · 7.5 CVE-2026-46440 < 3.1.2 3.1.2
  9. Hoch · 9.8 CVE-2026-41276 < 3.1.0 3.1.0
  10. Hoch CVE-2026-41274 < 3.1.0 3.1.0
  11. Hoch · 7.5 CVE-2026-41275 < 3.1.0 3.1.0
  12. Hoch · 7.1 CVE-2026-41271 < 3.1.0 3.1.0
  13. Hoch · 7.1 CVE-2026-41272 < 3.1.0 3.1.0
  14. Hoch · 7.1 CVE-2026-41269 < 3.1.0 3.1.0
  15. Hoch · 7.7 CVE-2026-41268 < 3.1.0 3.1.0
  16. Hoch · 7.5 CVE-2026-41266 < 3.1.0 3.1.0
  17. Kritisch · 8.8 CVE-2026-41137 < 3.1.0 3.1.0
  18. Kritisch · 9.9 CVE-2026-40933 < 3.1.0 3.1.0
Mehr anzeigen (20) 60 von 90 angezeigt

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.