Skip to main content
← All vulnerabilities
CVE-2026-85733GHSA-CJ57-C655-P798

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • php frankenphp

    fixed in 1.12.5

References 4

GitHub · php/frankenphp