CVE-2025-31114
9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
Fooocus is an image generating software. In versions 2.5.5 and prior, the Fooocus web UI is vulnerable to remote code execution due to the unsafe use of eval when processing metadata JSON. An attacker with access to the Fooocus web UI may be able to execute arbitrary code on the instance. As of time of publication, no known patched versions are available, but a suggested fix pull request is available.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| lllyasviel | Fooocus | <= 2.5.5 | affected |
Weaknesses
- CWE-95: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
- https://securitylab.github.com/advisories/GHSL-2024-196_Fooocus/
- https://github.com/lllyasviel/Fooocus/issues/3552
- https://github.com/lllyasviel/Fooocus/pull/4207
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.