CVE-2024-21574

Source
https://cve.org/CVERecord?id=CVE-2024-21574
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21574.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-21574
Published
2024-12-12T08:15:11Z
Modified
2026-10-28T02:30:51Z
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 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.

Database specific
{
    "cna_assigner": "snyk",
    "cwe_ids": [
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21574.json"
}
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
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.51.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "ffc095a3e5acc1c404773a0510e6d055a6a72b0e"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21574.json"