# CVE-2026-85733: FrankenPHP: Docker images serve phpinfo() as the default index.php, leaking environment variables

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A: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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-10-13T16:23:07.177Z
- Modified: 2026-10-16T20:04:29.760Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

FrankenPHP is a modern application server for PHP. Prior to 1.12.5, the official FrankenPHP Debian and Alpine Docker images include a default /app/public/index.php that executes phpinfo(). A derived image that does not overwrite this placeholder serves the diagnostics page in production and can disclose environment variables used for secrets, PHP configuration directives, loaded extensions, software versions, and system paths. Images built using the documented pattern with their own /app/public/index.php are not affected, and already derived images must be rebuilt or supplied with an application index to remove the exposed placeholder. This issue is fixed in version 1.12.5.

(As written by CVE List.)

## Affected

- php frankenphp: < 1.12.5

## References

- <https://github.com/php/frankenphp/security/advisories/GHSA-cj57-c655-p798>
- <https://github.com/php/frankenphp/pull/2524>
- <https://github.com/php/frankenphp/commit/17940ff2ee188a1e48aabd10c095df72b42539e0>
- <https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5>

## Sources

- CVE List: [CVE-2026-85733](https://www.cve.org/CVERecord?id=CVE-2026-85733), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-85733](https://nvd.nist.gov/vuln/detail/CVE-2026-85733), Public domain, modified 2026-10-16

---

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