# CVE-2026-30821: Flowise: Arbitrary File Upload via MIME Spoofing

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 17.1%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-06T18:49:20.000Z
- Modified: 2026-06-17T10:32:58.443Z
- Also known as: GHSA-j8g8-j7fc-43v6
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.0.13, the /api/v1/attachments/:chatflowId/:chatId endpoint is listed in WHITELIST_URLS, allowing unauthenticated access to the file upload API. While the server validates uploads based on the MIME types defined in chatbotConfig.fullFileUpload.allowedUploadFileTypes, it implicitly trusts the client-provided Content-Type header (file.mimetype) without verifying the file's actual content (magic bytes) or extension (file.originalname). Consequently, an attacker can bypass this restriction by spoofing the Content-Type as a permitted type (e.g., application/pdf) while uploading malicious scripts or arbitrary files. Once uploaded via addArrayFilesToStorage, these files persist in backend storage (S3, GCS, or local disk). This vulnerability serves as a critical entry point that, when chained with other features like static hosting or file retrieval, can lead to Stored XSS, malicious file hosting, or Remote Code Execution (RCE). This issue has been patched in version 3.0.13.

(As written by CVE List.)

## Affected

- FlowiseAI Flowise: < 3.0.13; before 3.0.13
- flowise (npm): before 3.0.13

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-j8g8-j7fc-43v6> (exploit, vendor-advisory, web)
- <https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.13> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30821> (advisory)
- <https://github.com/FlowiseAI/Flowise> (package)

## Sources

- CVE List: [CVE-2026-30821](https://www.cve.org/CVERecord?id=CVE-2026-30821), CVE Terms of Use, modified 2026-03-09
- GitHub Advisory Database: [GHSA-j8g8-j7fc-43v6](https://github.com/advisories/GHSA-j8g8-j7fc-43v6), CC-BY-4.0, modified 2026-03-09
- NVD: [CVE-2026-30821](https://nvd.nist.gov/vuln/detail/CVE-2026-30821), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30821 · Whole record: https://cve.day/CVE-2026-30821.json · Rebuilt by cve.day 2026-11-25T22:59:15.453Z
