# CVE-2024-10481: Cross-Site Request Forgery (CSRF) in comfyanonymous/comfyui

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:02.407Z
- Modified: 2026-06-17T06:55:46.107Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- comfyanonymous comfyanonymous/comfyui: from unspecified up to latest
- comfy comfyui: up to 0.2.2

## References

- <https://huntr.com/bounties/f4d5bfb5-6ff1-4356-b81f-f8c01d2e6ded> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-10481](https://www.cve.org/CVERecord?id=CVE-2024-10481), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-10481](https://nvd.nist.gov/vuln/detail/CVE-2024-10481), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10481 · Whole record: https://cve.day/CVE-2024-10481.json · Rebuilt by cve.day 2026-11-25T22:58:52.328Z
