Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire valid session via XSS or token interception
-
DeliveryCraft PUT /api/v1/user body with pre-computed credential hash
-
ExploitSubmit authenticated request to vulnerable endpoint
-
ExecutionTypeORM merge overwrites password hash without verification
-
PersistAttacker logs in with new credentials
-
ImpactPersistent account access established post-session expiry
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V4 - API and Web Service Object attribute protection
|
| Exploitation Conditions | Exploitation requires the attacker to hold a valid authenticated session for the target account - the controller enforces |
| Impact | The CVSS 4.0 score of 6.0 (AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N) accurately characterizes this as a moderate-severity, integrity-focused flaw. The high attack complexity (AC:H) is the key limiting factor: this vulnerability cannot be exploited in isolation - it requires an attacker to first obtain a valid authenticated session through a secondary attack such as XSS, phishing, or session token interception. It is therefore a persistence and privilege-consolidation mechanism, not a standalone initial access vector. The high integrity impact (VI:H) reflects the ability to fully hijack an account by overwriting its password hash, rendering the legitimate owner unable to recover without admin intervention. No EPSS data was supplied in the available intelligence. The vulnerability is not listed in CISA KEV and no public POC has been confirmed, suggesting no known widespread or active exploitation at time of analysis. Real-world priority should be driven by exposure: multi-user Flowise instances accessible over the internet or to untrusted authenticated users face meaningful risk, while air-gapped or single-user deployments are effectively unexposed. The AC:H constraint is a genuine mitigating factor and not merely a theoretical one - defenders should focus on eliminating the prerequisite session-theft vectors (XSS hardening, short session TTLs) in addition to patching. |
| Exploit ScenarioDerived | An attacker who has stolen a victim's Flowise session token - for instance by exploiting an XSS vulnerability in the Flowise interface or intercepting a token via an insecure channel - issues a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Mass assignment in Flowise's PUT /api/v1/user endpoint (all versions before 3.1.2) allows an authenticated user to overwrite their own account's password hash by supplying a crafted credential field in the request body, entirely bypassing the intended old-password verification, hashing enforcement, and session-invalidation workflow. An attacker who first obtains a temporary session - via XSS, token theft, or session hijacking - can exploit this to establish permanent account persistence even after the legitimate session expires, with no knowledge of the current password required. No public exploit has been identified at time of analysis, and a vendor-released patch is available in version 3.1.2.
RemediationAI
Upgrade Flowise to version 3.1.2 or later (vendor-released patch: 3.1.2), which resolves the mass assignment flaw by introducing field filtering in the PUT /api/v1/user endpoint to block direct modification of sensitive entity fields such as credential. The fix is documented in the GitHub Security Advisory GHSA-59fh-9f3p-7m39 at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-59fh-9f3p-7m39. If immediate patching is not feasible, restrict network access to the PUT /api/v1/user endpoint via a reverse-proxy WAF rule or network ACL for untrusted authenticated users - note this will break legitimate profile-update functionality as a trade-off. Additionally, reducing session token lifetimes and hardening against XSS in the Flowise UI will shrink the attacker's window to acquire the prerequisite session, since AC:H exploitation depends entirely on that prior session compromise. Administrators of affected instances should audit application logs for unexpected PUT /api/v1/user requests containing a credential field, which would indicate attempted or successful exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Flowise is an open-source low-code AI chatbot builder distributed as an npm package (flowise). The vulnerable endpoint is PUT /api/v1/user in the Node.js/TypeScript backend. The root cause is CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes - Mass Assignment): the controller forwards the raw req.body object directly to userService.updateUser() without applying a field allowlist. The service layer then passes this unfiltered input to TypeORM's queryRunner.manager.merge(User, oldUserData, newUserData), which applies every field present in newUserData - derived from req.body - onto the persisted User entity. This exposes sensitive entity fields beyond the intended name/email profile fields, including credential (the stored password hash), tempToken, tokenExpiry, and status. While an ID check in the controller prevents modification of other users' records (blocking IDOR), the merge operation's lack of field filtering is the direct root cause. Affected CPE: cpe:2.3:a:flowise:flowise:*:*:*:*:*:*:*:* covering npm versions <= 3.1.1.
Know when Flowise gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Network-accessible API requires a pre-obtained authenticated session (PR:L, AC:H); integrity impact is high via password hash overwrite; no confidentiality or availability impact applies.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Flowise before 3.1.2 contains a mass assignment vulnerability in the PUT /api/v1/user endpoint that allows authenticated users to directly modify the credential field without validation. Attackers can bypass password change verification and session invalidation by supplying a crafted password hash, establishing persistent account access after temporary session compromise.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c
FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una
Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9
Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o
Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent
Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi
Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when
Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat
Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr
EUVD-2026-38119
GHSA-qr8q-6c25-rppr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB