# CVE-2025-31114: Fooocus webui vulnerable to Remote Code Execution

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-11T15:37:33.789Z
- Modified: 2026-09-29T11:10:00.150Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- lllyasviel Fooocus: <= 2.5.5

## References

- <https://securitylab.github.com/advisories/GHSL-2024-196_Fooocus/> (exploit)
- <https://github.com/lllyasviel/Fooocus/issues/3552>
- <https://github.com/lllyasviel/Fooocus/pull/4207>

## Sources

- CVE List: [CVE-2025-31114](https://www.cve.org/CVERecord?id=CVE-2025-31114), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2025-31114](https://nvd.nist.gov/vuln/detail/CVE-2025-31114), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2025-31114 · Whole record: https://cve.day/CVE-2025-31114.json · Rebuilt by cve.day 2026-11-25T22:59:12.453Z
