CVE-2025-71335: Flowise Session Invalidation Flaw Allows Post-Password-Change Account Takeover
Flowise, a workflow automation platform, contains a critical session management flaw affecting versions 3.0.7 and earlier. When a user changes their password, the application fails to terminate existing login sessions or invalidate previously issued session tokens. This means an attacker with an active session—whether obtained through a stolen token or an unattended logged-in device—retains full access to that user's account even after the legitimate user has rotated their credentials. The attacker can continue operating as the authenticated user without any disruption, completely defeating the protective intent of a password change.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.1 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses (CWE)
- CWE-613
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-25 / 2026-07-01
NVD description (verbatim)
Flowise before 3.0.10 (affected versions 3.0.7 and earlier) fails to invalidate existing sessions and session tokens after a user changes their password. An attacker who already holds an active session, for example via a stolen session token or a device left logged in, remains authenticated as the legitimate user even after the user rotates their credentials, undermining the security purpose of the password change.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2025-71335 describes a session persistence vulnerability in Flowise prior to version 3.0.10. The vulnerability stems from incomplete session lifecycle management during password rotation. Specifically, the application fails to invalidate existing session tokens stored server-side or invalidate session identifiers associated with a user account when password change operations occur. This is categorized under CWE-613 (Insufficient Session Expiration), a well-known class of authentication bypass weakness. An attacker with PR (Privileged) access—meaning an existing authenticated session—can maintain that session indefinitely, even after the user has reset their password through normal credential change mechanisms. The CVSS 3.1 score of 8.1 (HIGH) reflects the high impact on confidentiality and integrity, tempered by the requirement that the attacker must already possess an active session.
Business impact
Organizations deploying Flowise for workflow automation face a significant account takeover risk if a session token is compromised or if an employee leaves a device logged in unattended. The failure to invalidate sessions upon password change means that conventional incident response—rotating credentials—becomes ineffective as a containment measure. An insider threat or external attacker with a stolen session token can maintain persistent access across a password rotation, potentially exfiltrating sensitive data, modifying workflows, or triggering unauthorized automations. This undermines both proactive security controls (credential rotation) and reactive incident response procedures, extending the window of unauthorized access and increasing breach dwell time.
Affected systems
Flowise versions 3.0.7 and earlier are confirmed affected. Version 3.0.10 and later contain the fix. Organizations should verify their deployment version immediately, as the vulnerability affects a wide range of installations prior to the patched release. Any Flowise instance running version 3.0.7 or below should be considered at risk.
Exploitability
Exploitation requires the attacker to already hold an active, valid session—either through stolen session tokens, session fixation, or physical access to a logged-in device. Once that session exists, no additional exploitation steps are required; the attacker simply continues using the existing session after the legitimate user changes their password. The barrier to exploitation is moderate: it depends on the attacker's ability to obtain a session in the first place, but once obtained, the persistence of that session is automatic and undetectable through normal means. The vulnerability is not in the wild per CISA's KEV catalog, but the low complexity and high impact make it attractive if sessions are compromised through phishing, malware, or carelessness.
Remediation
Upgrade Flowise to version 3.0.10 or later. This release includes session invalidation logic that terminates existing sessions and tokens when a user changes their password. In environments where immediate upgrade is not feasible, implement compensating controls: enforce strict session timeout policies (e.g., 15–30 minute idle timeouts), regularly audit active sessions and terminate suspicious or stale sessions, restrict session token issuance to short-lived tokens with mandatory refresh, and require multi-factor authentication to increase the difficulty of session hijacking. After patching, consider forcing all users to re-authenticate to clear any compromised sessions in the wild.
Patch guidance
Apply Flowise version 3.0.10 or later as soon as possible. Verify patch application by confirming the version string in the Flowise admin interface or deployment logs. Test the patch in a non-production environment first to ensure workflow automation processes remain uninterrupted. After deploying the patch, consider implementing a coordinated re-authentication event (e.g., a brief maintenance window where all sessions are invalidated) to clear any lingering compromised sessions. Review vendor release notes for any configuration changes related to session management and adjust your deployment accordingly.
Detection guidance
Monitor Flowise logs for password change events and correlate them with subsequent session activity. Legitimate sessions should terminate shortly after a password change; any continued activity from a pre-change session is suspicious. Implement alerting on session tokens that remain active beyond their expected lifetime or that authenticate after a credential rotation. Review authentication logs for unusual login patterns, failed authentication attempts, or logins from unexpected IP addresses or geographic regions. Use session management tools to identify and manually revoke suspicious or long-lived sessions. If Flowise integrates with a centralized authentication provider (LDAP, OAuth, SAML), ensure those logs are monitored for discrepancies between the IdP's session invalidation and Flowise's behavior.
Why prioritize this
Although this vulnerability requires the attacker to already possess a valid session, it fundamentally breaks a core security assumption: that rotating credentials will sever an attacker's access. This makes it a high-priority fix in any organization where session compromise is plausible (which is nearly all). The CVSS score of 8.1 reflects high impact on confidentiality and integrity, and the ease of exploitation once a session exists. Organizations managing sensitive workflows or handling user data through Flowise should treat this as a critical remediation target. The lack of KEV status does not diminish the severity; it reflects absence from CISA's active exploitation list, not the vulnerability's inherent risk.
Risk score, explained
The CVSS 3.1 score of 8.1 (HIGH) derives from: Attack Vector (Network) reflecting remote exploitability via web session; Attack Complexity (Low) because no special conditions are needed once a session is obtained; Privileges Required (Low) because an existing authenticated session is needed; User Interaction (None) because no victim action triggers the persistence; Scope (Unchanged) affecting only the target application; Confidentiality Impact (High) allowing full access to user data; Integrity Impact (High) allowing unauthorized modifications; and Availability Impact (None) because the attacker does not degrade service. The score appropriately penalizes the authentication bypass nature of the flaw while acknowledging that initial session compromise is a prerequisite.
Frequently asked questions
If my users use strong passwords and I have good session timeout policies, am I safe from this vulnerability?
Partial mitigation only. Strong passwords and timeouts reduce the window of risk but do not eliminate it. An attacker who obtains a session token before the timeout expires will retain access across a password change. Shorter timeouts help, but are not a substitute for fixing the underlying session invalidation logic. Upgrade to version 3.0.10 for complete protection.
Does this vulnerability affect single sign-on (SSO) integrations with Flowise?
This depends on how Flowise integrates with your SSO provider. If Flowise manages its own session tokens independently of the IdP, the vulnerability applies. If Flowise fully delegates authentication and session management to your SSO provider, the IdP's session invalidation may provide protection, but you should test this and verify with your vendor. SSO does not automatically solve this class of vulnerability.
Can I revoke compromised session tokens manually without upgrading?
You may be able to do so if Flowise provides an admin interface for session management, but this is a reactive, labor-intensive workaround and does not address the root cause. Upgrade to 3.0.10 to ensure automatic session invalidation on password change. Manual revocation is a temporary containment measure, not a fix.
Is there any way to detect if an attacker is currently using a compromised session on our Flowise instance?
Yes, but it requires careful log analysis. Look for sessions that remain active after a user reports a password change or a suspicious login. Compare session tokens across logs and identify any that authenticate beyond the user's expected access pattern. If Flowise logs authentication events with IP addresses and user agents, anomalies in location, device, or browser can signal compromise. However, detection is not prevention—upgrade to version 3.0.10 to ensure sessions are automatically terminated.
This analysis is provided for informational purposes and reflects the vulnerability details available as of the published date. Organizations should independently verify patch availability and compatibility with their deployment. CVSS scores, KEV status, and affected product versions are sourced from official CVE records and vendor advisories; always consult the vendor's official release notes for definitive patching and remediation guidance. No exploit code or proof-of-concept is provided in this analysis. Testing of patches should be conducted in a non-production environment. Security controls and detection strategies described herein are recommendations and do not guarantee complete protection; defense-in-depth with multiple layers of controls is advised. Source: NVD (public-domain), retrieved 2026-08-04. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-36359HIGHIBM DevOps Automation and Loop Session Invalidation Flaw
- CVE-2026-44648HIGHSillyTavern Session Expiration Vulnerability – Account Takeover Risk
- CVE-2026-46656HIGHBludit Ghost Session Vulnerability – Broken Access Control Flaw
- CVE-2026-46657HIGHBludit Account Disablement Bypass via Persistent Authentication Tokens
- CVE-2026-49229HIGHActual Finance App OpenID Session Token Bypass in Disabled User Accounts
- CVE-2026-53843HIGHOpenClaw Authorization Bypass: Pairing-Scoped Session Re-Establishment
- CVE-2026-54321HIGHDaytona Sandbox Visibility Cache Bypass (v0.101.0-0.183.1)
- CVE-2026-54479HIGHPredictable Session Identifiers in WebSocket Charging Station Backend