CVE-2024-12952 melMass comfy_mtb Dependency endpoint.py run_command code injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via the run_command function in the comfy_mtb library, requiring a patch to mitigate.

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

What is CVE-2024-12952?

CVE-2024-12952 is a medium-severity code injection vulnerability in melMass comfy_mtb, published on 26 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical was found in melMass comfy_mtb up to 0.1.4. Affected by this vulnerability is the function run_command of the file comfy_mtb/endpoint.py of the component Dependency Handler. The manipulation leads to code injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The patch is named d6e004cce2c32f8e48b868e66b89f82da4887dc3. It is recommended to apply a patch to fix this issue.

Weakness: CWE-94, CWE-74

Which versions are affected by CVE-2024-12952?

How do I fix CVE-2024-12952?

No fix has been published for CVE-2024-12952 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-12952 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12952 exists.

Sources

Also known as GHSA-5x6r-g83f-xfgw.

Is CVE-2024-12952 in your software?

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

Check your SBOMs for free