CVE-2024-21574

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-21574
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21574.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-21574
Published
2024-12-12T09:15:06.037Z
Modified
2025-11-15T15:37:06.147731Z
Severity
  • 10.0 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/comfy-org/comfyui-manager

Affected ranges

Type
GIT
Repo
https://github.com/comfy-org/comfyui-manager
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.48.1
2.48.2
2.48.3
2.48.4
2.48.6
2.48.7
2.50
2.50.1