CVE-2026-85733 FrankenPHP: Docker images serve phpinfo() as the default index.php, leaking environment variables
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- PHPDockerDebian
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| php frankenphp | = < 1.12.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| php frankenphp | = < 1.12.5 | No fix listed |
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
- ENISA EUVD EUVD-2026-98915 third-party-advisory