PT-2026-70240 · Fooocus · Fooocus
CVE-2025-31114
·
Published
2026-08-11
·
Updated
2026-08-11
CVSS v4.0
9.3
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Fooocus versions prior to 2.5.6
Description
The web UI of this image generating software allows remote code execution because of the unsafe use of the
eval() function when processing metadata JSON. An attacker with access to the web UI can execute arbitrary code on the instance.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
RCE
Unrestricted File Upload
Eval Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Fooocus