# CVE-2026-46442: Flowise: Authenticated Host RCE via POST /api/v1/node-custom-function and NodeVM Sandbox Escape

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- 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): 33.0%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T14:57:53.000Z
- Modified: 2026-07-23T07:10:00.113Z
- Also known as: GHSA-9rvc-vf7m-pgm2
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.1.2, POST /api/v1/node-custom-function lacks route-level authorization, allowing any authenticated user or API key to submit arbitrary JavaScript to the Custom JS Function node. When E2B_APIKEY is not configured — the common deployment case — Flowise executes this code inside a NodeVM sandbox. This sandbox can be escaped, allowing an attacker to reach the host process object and execute system commands via child_process. The result is authenticated remote code execution on the Flowise server host. This issue has been patched in version 3.1.2.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-9rvc-vf7m-pgm2> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.1.2> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46442> (advisory)
- <https://github.com/FlowiseAI/Flowise> (package)

## Sources

- CVE List: [CVE-2026-46442](https://www.cve.org/CVERecord?id=CVE-2026-46442), CVE Terms of Use, modified 2026-06-09
- GitHub Advisory Database: [GHSA-9rvc-vf7m-pgm2](https://github.com/advisories/GHSA-9rvc-vf7m-pgm2), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-46442](https://nvd.nist.gov/vuln/detail/CVE-2026-46442), Public domain, modified 2026-07-23

---

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