# CVE-2024-21575: ComfyUI-Impact-Pack is vulnerable to Path Traversal.

- Severity: Critical 9.2 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA: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): 1.00%, higher than 63% of CVEs (2026-12-01)
- Published: 2024-12-12T14:14:29.321Z
- Modified: 2026-06-17T07:09:43.997Z
- Weaknesses: CWE-35
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: snyk

## Description

ComfyUI-Impact-Pack is vulnerable to Path Traversal. The issue stems from missing validation of the `image.filename` field in a POST request sent to the `/upload/temp` endpoint added by the extension to the server. This results in writing arbitrary files to the file system which may, under some conditions, result in remote code execution (RCE).

(As written by CVE List.)

## Affected

- ltdrdata ComfyUI-Impact-Pack: before 7.6.2

## Every score

- snyk: CVSS:4.0 9.2 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N`
- snyk: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`

## References

- <https://github.com/ltdrdata/ComfyUI-Impact-Pack/commit/a43dae373e648ae0f0cc0c9768c3cea6a72acff7>
- <https://github.com/ltdrdata/ComfyUI-Impact-Pack/blob/1087f2ee063c9d53cd198add79b41a7a3465c05a/modules/impact/impact_server.py#L28>

## Sources

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

---

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