Flowise: Unauthenticated Property Injection into Flow Execution Context via Ungated `overrideConfig` Spread in Prediction API
Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the unauthenticated POST /api/v1/prediction/:id endpoint accepted an overrideConfig object and unconditionally spread it into internal flowConfig and flowData objects in packages/server/src/utils/buildChatflow.ts and packages/server/src/utils/index.ts without checking apiOverrideStatus. This allowed unauthenticated attackers to inject arbitrary properties into the flow execution context of any public chatflow, overwrite values such as chatId, sessionId, and chatHistory, and control values resolved through $flow.* template variables consumed by flow nodes. This issue is fixed in version 3.1.3.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
flowisenpm | < 3.1.3 | 3.1.3 |
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-6vh2-wg4h-4vwjghsaADVISORY
- github.com/FlowiseAI/Flowise/commit/23b997ee5ef9e269b628bad0f56f1ecb86bd2fcaghsax_refsource_MISCWEB
- github.com/FlowiseAI/Flowise/pull/6279ghsax_refsource_MISCWEB
- github.com/FlowiseAI/Flowise/releases/tag/[email protected]ghsax_refsource_MISCWEB
- github.com/FlowiseAI/Flowise/security/advisories/GHSA-6vh2-wg4h-4vwjghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.