CVE-2025-31114: Vulnerability in Lllyasviel Fooocus

Critical. 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.

CWE-95

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
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
Weakness
CWE-95
Published
11 Aug 2026
Last change
29 Sept 2026

Affected products

Affected versions and the first fixed release

  • Lllyasviel Fooocus Version <= 2.5.5. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related