CVE-2025-31114 PUBLISHED

Fooocus webui vulnerable to Remote Code Execution

Assigner: GitHub_M
Reserved: 26.03.2025 Published: 11.08.2026 Updated: 11.08.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor lllyasviel
Product Fooocus
Versions
  • Version <= 2.5.5 is affected

References

Problem Types

  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') CWE