CVE Catalog

CVE-2025-31114

CriticalCVSS 9.3
Published: Updated: Translated: NVD NIST

Summary

Fooocus up to version 2.5.5 is vulnerable to remote code execution due to unsafe use of eval when processing metadata JSON. An attacker with web UI access can execute arbitrary code.

Risk Assessment

Compromising the Fooocus instance can lead to full system compromise, data theft, or lateral movement.

Recommendation

No patched version is available; apply the suggested fix pull request or restrict access to the web UI.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS