CVE-2024-21577 Code injection in ComfyUI-Ace-Nodes

Critical 10.0 Published Updated

Attackers can execute arbitrary code on the server by exploiting unsafe eval() usage in the ACE_ExpressionEval node of ComfyUI-Ace-Nodes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-21577?

CVE-2024-21577 is a critical code injection vulnerability in hay86 ComfyUI-Ace-Nodes, published on 13 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ComfyUI-Ace-Nodes is vulnerable to Code Injection. The ACE_ExpressionEval node contains an eval() in its entrypoint function that accepts arbitrary user-controlled data. A user can create a workflow that results in executing arbitrary code on the server.

Weakness: CWE-94

Which versions are affected by CVE-2024-21577?

How do I fix CVE-2024-21577?

No fix has been published for CVE-2024-21577 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-21577 being exploited?

There is no known exploitation of CVE-2024-21577 in the wild and no public exploit code.

Sources

Also known as GHSA-rjx4-8gxj-w5gj.

Is CVE-2024-21577 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free