Read the docs
TI-2026-71919 Aliases CVE-2026-85733

FrankenPHP Docker images leak environment variables through phpinfo()

Priority LOW 30CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-200.

Summary

FrankenPHP before 1.12.5 ships official Debian and Alpine Docker images with a default /app/public/index.php that calls phpinfo(). A derived image that keeps this placeholder serves the diagnostics page in production, which exposes sensitive information (CWE-200). A remote unauthenticated attacker can read environment variables used for secrets, PHP configuration directives, loaded extensions, software versions and system paths.

Written with Claude Haiku 5.5 from the sources below · 2026-10-27

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00244 15th percentileScored 2026-11-07
Fix Fixed frankenphp (php): 1.12.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PHPfrankenphpbefore 1.12.51.12.5Patch availableCNA
  • frankenphp VendorPHP Affected before 1.12.5 Fixed in 1.12.5 Patch available CNA

Remediation

FrankenPHP 1.12.5 fixes this issue. Rebuild derived images or supply an application index.php in /app/public so the placeholder is replaced.

Written with Claude Haiku 5.5 from the sources below · 2026-10-27

  • Fix · CNA frankenphp (php) Fixed in 1.12.5

Timeline

  1. 2026-10-13 Threatist record created from CVE-2026-85733

References

  • TI-2024-04260 Argument Injection in PHP-CGI KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2016-08118 The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow… KEVCVSS 3.1CRITICAL 9.8
  • TI-2012-01607 sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI… KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-78794 PHP remote code execution via stale global state KEVCVSS 4.0CRITICAL 9.2
  • TI-2026-78793 Out-of-memory handling flaw in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
See all 777 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences