/

CVE-2026-46440

Severity:

CRITICAL RISK

(9.1)

Plaintext Credential Validation (CWE-522) in Flowise UI

CVE-2026-46440

Analyzed

Vulnerability type

Category:

Insufficiently Protected Credentials

CWE:

CWE-522

Impact:

Unauthorized Access / Account Compromise

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Flowise exposes a basic authentication check endpoint that validates credentials in plaintext, using direct comparison and without any rate limiting.

Under these conditions, attackers can repeatedly guess or intercept credentials, increasing the likelihood of unauthorized access to protected Flowise flows.

Affected context

This vulnerability affects Flowise deployments that rely on the checkBasicAuth endpoint to protect access to the drag-and-drop LLM flow interface.

It is most relevant when:

  • Basic authentication is used as the primary or only protection mechanism
  • The endpoint is reachable over a network (especially the public internet)
  • Transport encryption and/or additional rate limiting is not enforced externally

Exploit preconditions

  • Attack surface: Network-exposed checkBasicAuth endpoint used for basic authentication.
  • Required access: Ability to send HTTP requests to the Flowise instance; no prior authentication required.
  • Trigger point: Repeated credential validation attempts or interception of traffic where credentials are sent in plaintext form.
  • Why exploitation is possible: Credentials are validated in plaintext with direct comparison and no built-in rate limiting, which facilitates brute-force guessing and increases the risk of credential disclosure if transport protections are weak.

Why this happens

The issue stems from insufficient protection of authentication credentials, aligning with CWE-522: Insufficiently Protected Credentials.

The checkBasicAuth endpoint relies on plaintext credential validation and simple direct comparison, without inherent safeguards such as rate limiting, lockout mechanisms, or stronger verification workflows.

This pattern treats credentials as low-sensitivity data at the application layer and fails to apply standard hardening controls that slow or deter automated guessing attempts.

Potential impact

  • Attackers may gain unauthorized access to Flowise instances by brute-forcing credentials.
  • Compromised access can allow viewing, modifying, or deleting LLM flows and related configurations.
  • An attacker could manipulate flows to exfiltrate data, inject malicious prompts, or degrade system behavior.
  • Credentials reused across services can further expose other systems to compromise.

General mitigation guidance

Mitigation commonly focuses on hardening credential handling and access control around the authentication endpoint:

  • Introduce rate limiting, lockout policies, or progressive delays after failed login attempts.
  • Prefer stronger authentication approaches (e.g., token-based or OAuth-like mechanisms) where appropriate.
  • Ensure credentials are never logged or exposed and are treated as high-sensitivity secrets at all layers.
  • Enforce TLS for all network access and front the endpoint with secure proxies that can add additional protections.
  • Apply least-privilege principles so compromised accounts have minimal impact on downstream systems and data.

How teams detect issues like this

Detection efforts generally focus on authentication patterns and endpoint behavior:

  • Use static analysis or code review to flag endpoints that process credentials with direct comparisons and no rate limiting logic.
  • Inspect authentication handlers for absence of throttling, lockout, or anomaly detection mechanisms.
  • Monitor authentication logs for high volumes of failed attempts, unusual source IP patterns, or scripted attack signatures.
  • Employ automated security testing tools or API fuzzers to simulate aggressive login attempts and validate defenses.

Sources

SourceLink
github.comgithub.com/FlowiseAI/Flowise/releases/tag/flowise%403.1.2
github.comgithub.com/FlowiseAI/Flowise/security/advisories/GHSA-php6-83fg-gw3g

Frequently asked

questions

Yes, if the Flowise checkBasicAuth endpoint is exposed over a network (especially the internet), a remote attacker can attempt to exploit it by sending repeated authentication requests.

The attacker only needs network access to the Flowise instance; no prior authentication is required to interact with the checkBasicAuth endpoint.

Strengthen credential protection by adding rate limiting or lockout mechanisms, using secure authentication frameworks, and ensuring that credentials are treated as sensitive data at every layer, including transport, storage, and logging.

Incorporate security requirements into authentication design from the start, including brute-force resistance, secure transport (TLS), centralized authentication services where possible, and regular security reviews or automated checks focused on endpoints that process credentials.

Find out what's already
exploitable in your codebase.