GHSA-59fh-9f3p-7m39: Flowise: Mass Assignment in PUT /api/v1/user Allows Authenticated Users to Override Password Hash and Bypass Password Change Verification
- Identifier
- GHSA-59fh-9f3p-7m39
- Published
- Record updated
- Affected
- flowise <= 3.1.1
- Fixed in
- 3.1.2
- released April 14, 2026, 36 days before disclosure
Summary
GHSA-59fh-9f3p-7m39 is a mass assignment flaw in Flowise's PUT /api/v1/user endpoint. The controller forwards the whole request body to userService.updateUser, which merges it into the User entity without a field allowlist. An authenticated user can therefore overwrite the credential field with a chosen bcrypt hash, bypassing old password verification, hashing and policy checks, and session invalidation. The source notes an attacker holding a temporary session, for example via XSS or token theft, could use this for persistent account access, though the ID check prevents changing other users' accounts.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- flowisenpmLLM dependency since 2024-03-12
Related items
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database
- MediumCVE-2026-137667: ONNX ONNXMLTools cross site scripting in Model VisualizationSimilar attack · NVD/CVE Database
- InfoEvaluating transformer based language model robustness under low rate training data poisoningSimilar attack · OpenAlex (peer-reviewed AI security)