CVE-2025-31114

CRITICAL CVSS 4.0: 9.3 EPSS 0.88%
Updated Sep 29, 2026
Fooocus
Parameter Value
CVSS 9.3 (CRITICAL)
Type CWE-95, CWE-434 (Unrestricted File Upload)
Vendor Fooocus
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0