CVE-2024-21577CWE-94

ComfyUI-Ace-Nodes is vulnerable to Code Injection

Critical · published December 13, 2024

CVSS v4.0
10.0
EPSS
1%
Percentile
47.4
In the wild
Unconfirmed
What it is

🚨 Code injection is lurking in ComfyUI-Ace-Nodes, and it’s as easy as pie! 🍰 Just toss user data into the ACE_ExpressionEval node and watch arbitrary code execute on the server! Think of it like a restaurant where the chef blindly follows any order without checking the ingredients — if a customer orders something dangerous, it goes straight to the plate! An attacker could infiltrate the system and execute any code they want, potentially accessing sensitive data or taking over the entire server. This level of vulnerability is absolutely devastating and could lead to catastrophic consequences for any affected organization.

Put simply

Think of it like a restaurant where the chef blindly follows any order without checking the ingredients — if a customer orders something dangerous, it goes straight to the plate! The vulnerability stems from the ACE_ExpressionEval node's use of eval() in its entrypoint function, which allows user-controlled data to run arbitrary code on the server without proper validation.

What to do

An attacker could infiltrate the system and execute any code they want, potentially accessing sensitive data or taking over the entire server. This level of vulnerability is absolutely devastating and could lead to catastrophic consequences for any affected organization. Immediately update to the latest version of ComfyUI-Ace-Nodes where this issue has been patched. Review and audit the code to eliminate any other risky eval() usages, and ensure strict input validation across workflows. You've got this! By taking these steps, you'll help keep your server safe and secure. 🛡️

The record
Technical detail
CVSS v4.0
10.0 · CRITICAL
Vector
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
EPSS
0.00588 · 47.4th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-12-13T11:17Z
EPSS history
Timeline
  • 13 DEC 11:17Z
    ComfyUI-Ace-Nodes is vulnerable to Code Injection
    cvelistv5