Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-21574
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 19:35 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-21574
Complete source record
{
"id": "cdc781bf1342d783fbfb18dee1c006eb210a3adb97a1a363116b62f1f02793a3",
"url": "https://osv.dev/vulnerability/CVE-2024-21574",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-21574",
"summary": "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.",
"evidence": "osv:CVE-2024-21574",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-21574",
"aliases": [
"CVE-2024-21574"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/Comfy-Org/ComfyUI-Manager",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "1d7777fb0b1216595795506147a71d1070d043f2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.51.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "ffc095a3e5acc1c404773a0510e6d055a6a72b0e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.50.1",
"2.50",
"2.48.7",
"2.48.6",
"2.48.4",
"2.48.3",
"2.48.2",
"2.48.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21574.json"
}
}
],
"modified": "2026-10-28T02:30:51.650498143Z",
"provider": "osv",
"references": [
"https://github.com/ltdrdata/ComfyUI-Manager/blob/ffc095a3e5acc1c404773a0510e6d055a6a72b0e/glob/manager_server.py#L798",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21574.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-21574",
"https://github.com/ltdrdata/ComfyUI-Manager/commit/ffc095a3e5acc1c404773a0510e6d055a6a72b0e"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21574.json"
}
},
"related_cves": [
{
"value": "CVE-2024-21574",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520230,
"published_at": "2024-12-12T08:15:11.464+00:00"
}