CVE-2024-10481

A CSRF vulnerability exists in comfyanonymous/comfyui versions up to v0.2.2. This vulnerability allows attackers to host malicious websites that, when visited by authenticated ComfyUI users, can perform arbitrary API requests on behalf of the user. This can be exploited to perform actions such as uploading arbitrary files via the `/upload/image` endpoint. The lack of CSRF protections on API endpoints like `/upload/image`, `/prompt`, and `/history` leaves users vulnerable to unauthorized actions, which could be combined with other vulnerabilities such as stored-XSS to further compromise user sessions.
References
Link Resource
https://huntr.com/bounties/f4d5bfb5-6ff1-4356-b81f-f8c01d2e6ded Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:comfy:comfyui:*:*:*:*:*:*:*:*

History

29 Jul 2025, 18:22

Type Values Removed Values Added
CPE cpe:2.3:a:comfy:comfyui:*:*:*:*:*:*:*:*
References () https://huntr.com/bounties/f4d5bfb5-6ff1-4356-b81f-f8c01d2e6ded - () https://huntr.com/bounties/f4d5bfb5-6ff1-4356-b81f-f8c01d2e6ded - Exploit, Third Party Advisory
Summary
  • (es) Existe una vulnerabilidad CSRF en las versiones de comfyanonymous/comfyui hasta la v0.2.2. Esta vulnerabilidad permite a los atacantes alojar sitios web maliciosos que, al ser visitados por usuarios autenticados de ComfyUI, pueden realizar solicitudes arbitrarias a la API en nombre del usuario. Esto puede explotarse para realizar acciones como subir archivos arbitrarios a través del endpoint `/upload/image`. La falta de protección CSRF en endpoints de API como `/upload/image`, `/prompt` y `/history` deja a los usuarios vulnerables a acciones no autorizadas, que podrían combinarse con otras vulnerabilidades como el XSS almacenado para comprometer aún más las sesiones de usuario.
First Time Comfy comfyui
Comfy

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-07-29 18:22


NVD link : CVE-2024-10481

Mitre link : CVE-2024-10481

CVE.ORG link : CVE-2024-10481


JSON object : View

Products Affected

comfy

  • comfyui
CWE
CWE-352

Cross-Site Request Forgery (CSRF)