# CVE-2024-21574: The issue stems from a missing validation of the pip field in a POST request sent to the /customnode/install endpoint used to install custo…

- Severity: Critical 10.0 (CVSS:4.0, scored by snyk) `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`
- 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): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2024-12-12T08:15:11.464Z
- Modified: 2026-06-17T07:09:43.870Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- ltdrdata ComfyUI-Manager: before 2.51.1

## Every score

- snyk: CVSS:4.0 10.0 Critical `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`
- snyk: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/ltdrdata/ComfyUI-Manager/commit/ffc095a3e5acc1c404773a0510e6d055a6a72b0e>
- <https://github.com/ltdrdata/ComfyUI-Manager/blob/ffc095a3e5acc1c404773a0510e6d055a6a72b0e/glob/manager_server.py#L798>

## Sources

- CVE List: [CVE-2024-21574](https://www.cve.org/CVERecord?id=CVE-2024-21574), CVE Terms of Use, modified 2024-12-12
- NVD: [CVE-2024-21574](https://nvd.nist.gov/vuln/detail/CVE-2024-21574), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21574 · Whole record: https://cve.day/CVE-2024-21574.json · Rebuilt by cve.day 2026-11-25T22:58:50.049Z
