What’s Vulnerable › Vulnerabilities

CVE-2024-21574

Description

The issue stems from a missing validation of the pip field in a POST request sent to the /customnode/install endpoint used to install custom nodes which is added to the server by the extension. This allows an attacker to craft a request that triggers a pip install on a user controlled package or URL, resulting in remote code execution (RCE) on the server.

Affected products

How to fix

Upgrade to a fixed version: ltdrdata ComfyUI-Manager 2.51.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-21574 or the next vulnerability affects your stack