CVE-2025-31114
JSON

9.3critical

Fooocus webui vulnerable to Remote Code Execution

Severity
9.3critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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

Product or packageVersionsReported by
lllyasviel Fooocus<= 2.5.5CVE List

Classification

CWE-95

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Fooocus es un software generador de imágenes. En las versiones 2.5.5 y anteriores, la interfaz de usuario web de Fooocus es vulnerable a la ejecución remota de código debido al uso inseguro de eval al procesar metadatos JSON. Un atacante con acceso a la interfaz de usuario web de Fooocus podría ser capaz de ejecutar código arbitrario en la instancia. Hasta el momento de la publicación, no hay versiones parcheadas conocidas disponibles, pero hay una solicitud de extracción con una solución sugerida disponible.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-31114 changed 2026-08-17CVE Terms of Use
NVDCVE-2025-31114 changed 2026-09-29Public domain