CVE-2025-31114
published critical CVSS 4.0 · 9.3Fooocus webui vulnerable to Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lllyasviel | — | Fooocus<= 2.5.5 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lllyasviel | Fooocus | <= 2.5.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
3Provider assertions
2GitHub_M · cna
Fooocus webui vulnerable to Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c36d7eace22fe3fbd730e758ea188e11c14cecff3fd3dc3f6c7ea11347c9a538
- Ingested
- 23 Sep 2026, 08:44:43 UTC
- Source record
- Official CVE record