CVE-2024-12882 SSRF in comfyanonymous/comfyui

High 7.5 Published Updated

Attackers can exploit SSRF in ComfyUI to access unauthorized internal resources and abuse server credentials via specific API endpoints.

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-12882?

CVE-2024-12882 is a high-severity server-side request forgery vulnerability in comfyanonymous/comfyui, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

comfyanonymous/comfyui version v0.2.4 suffers from a non-blind Server-Side Request Forgery (SSRF) vulnerability. This vulnerability can be exploited by combining the REST APIs `POST /internal/models/download` and `GET /view`, allowing attackers to abuse the victim server's credentials to access unauthorized web resources.

Weakness: CWE-918

Which versions are affected by CVE-2024-12882?

It affects 1 product.

Products include Comfy Comfyui.

How do I fix CVE-2024-12882?

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

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-12882 being exploited?

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

Sources

Also known as GHSA-56p4-cfqw-jx4h.

Is CVE-2024-12882 in your software?

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

Check your SBOMs for free