CVE-2024-10481: A CSRF vulnerability exists in comfyanonymous/comfyui versions up to v0.2.2
CVE-2024-10481 is a medium-severity flaw (CVSS 6.5) affecting comfyui. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 87%) |
| CISA exploited list | No |
| Weakness | CWE-352 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-10481?
comfyui: upgrade to newer than 0.2.2. Exact commands for each OS are on this page.
Is CVE-2024-10481 being exploited?
CVE-2024-10481 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-10481 affect?
CVE-2024-10481 affects comfyui. Severity is medium (CVSS 6.5). 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 t
How urgent is CVE-2024-10481?
Priority 31/100. Public exploit reference
Related CVEs
- CVE-2024-12882 HIGH 7.5 DOWNGRADE comfyanonymous/comfyui version v0.2.4 suffers from a non-blind Server-Side Request Forgery (SSRF) vulnerabilit
- CVE-2024-10099 MEDIUM 6.1 DOWNGRADE A stored cross-site scripting (XSS) vulnerability exists in comfyanonymous/comfyui version 0.2.2 and possibly