Activepieces: V8 Isolate Sandbox Bypass via importFresh Module Loading
activepieces
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| activepieces activepieces |
| No fix yet |
Original description
Activepieces is an open source AI workflow automation platform. Prior to 0.80.0, in SANDBOX_CODE_ONLY mode, the engine loads the compiled user module with importFresh(), a wrapper around Node.js require(), before the V8 isolate is applied. Top-level module code can therefore call require('child_process'), access fs, and use other Node.js APIs in the host engine process outside the sandbox. An authenticated user who can create a Code step can read environment secrets including AP_ENCRYPTION_KEY and AP_JWT_SECRET, read or write files, and reach internal services. This issue is fixed in version 0.80.0.
From the CVE record · GitHub_M