Skip to content
CriticalVulnerability

GHSA-h42x-xx2q-6v6g: Flowise Pre-auth Arbitrary File Upload

Published
Record updated
View JSON
Affected
  • flowise <= 2.2.7
Fixed in
No fixed version was stated when the source was last read.

Summary

Flowise's pre-auth whitelist lets unauthenticated requests reach `/api/v1/attachments` (POST `/:chatflowId/:chatId`), which accepts uploaded files when `storageType` is `local`, the default. The `createFileAttachment` function in `packages/server/src/utils/createAttachment.ts` reads `chatflowId` and `chatId` from the URL and only checks that they are present, with no further validation before the files are written to storage.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.