Vulnerability · Published Oct 13, 2026 · Assigned by GitHub_M
CVE-2026-85733FrankenPHP: Docker images serve phpinfo() as the default index.php, leaking environment variables
Medium 5.3
In plain English
A medium-severity information exposure in frankenphp from php. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| php | frankenphp | < 1.12.5 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/php/frankenphp/security/advisories/GHSA-cj57-c655-p798 x_refsource_CONFIRM
- https://github.com/php/frankenphp/pull/2524 x_refsource_MISC
- https://github.com/php/frankenphp/commit/17940ff2ee188a1e48aabd10c095df72b42539e0 x_refsource_MISC
- https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5 x_refsource_MISC