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:11.464Z
Modified
2026-07-15T01:49:15.567058807Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21574.json",
    "cwe_ids": [
        "CWE-94"
    ],
    "cna_assigner": "snyk"
}
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
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.51.1"
        }
    ]
}

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"