Skip to content

CVE-2024-58351 Flowise - Remote Code Execution via overrideConfig Parameter

CriticalCVSS 9.3 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

Flowise before 2.1.4 allows configuration to be injected into the Chainflow during execution via the overrideConfig option, supported in both the frontend web integration and the backend Prediction API. Because this feature is enabled by default with no allow-list of permitted variables and relies on vm2 for sandboxing, an attacker can abuse it to achieve remote code execution and sandbox escape, denial of service by crashing the server, server-side request forgery, prompt injection, and server variable and data exfiltration. These issues are self-targeted and do not persist to other users.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm flowise < 2.1.4 2.1.4 Fixed
npm flowise(npm) < 2.1.4 2.1.4 Fixed

Affected products

ProductAffected versionsFixed in
npm flowise(npm) < 2.1.4 2.1.4
npm flowise < 2.1.4 2.1.4

References