Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-85733 EUVD-2026-98915

FrankenPHP: Docker images serve phpinfo() as the default index.php, leaking environment variables

Published Oct 13, 2026 · Updated Oct 13, 2026 · 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.

Affected products

VendorProductAffectedFixed
php frankenphp < 1.12.5 —

References