Read the docs

FrankenPHP putenv Leaks Environment Variables Across Requests

Priority LOW 29CWE-488Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

FrankenPHP from 1.5.0 before 1.13.0 contains an incomplete environment sandbox. putenv writes to the process-wide OS environment through os.Setenv, so values leak across concurrent requests. An attacker who reaches a request path that spawns child processes with the default environment through proc_open or exec can read secrets such as database passwords set by other requests. The CVSS 4.0 base score is 6.9 (MEDIUM), and the weakness is CWE-488.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

FrankenPHP from 1.5.0 before 1.13.0 contains an incomplete environment sandbox vulnerability in which putenv writes to the process-wide OS environment via os.Setenv, leaking values across concurrent requests. Attackers reaching a request path that spawns child processes with the default environment through proc_open or exec can read secrets such as database passwords set by other requests.

Why it matters now

EPSS 0.0013 2nd percentileScored 2026-11-16
Fix Fixed frankenphp (php): 1.13.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
PHPfrankenphp1.5.0 to before 1.13.01.13.0Patch availableCNA
  • frankenphp VendorPHP Affected 1.5.0 to before 1.13.0 Fixed in 1.13.0 Patch available CNA

Remediation

Upgrade FrankenPHP to version 1.13.0 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA frankenphp (php) Fixed in 1.13.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    php frankenphp 1.13.0

    4 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-91439 FrankenPHP CGI path-split bypass runs protected PHP scriptsPriority HIGH 70
    • TI-2026-91437 Authentication bypass in FrankenPHP via dot-form header namesPriority MEDIUM 40
    • TI-2026-91438 Denial of service in FrankenPHP goArray via nil type assertionPriority LOW 36

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-128026
  2. 2026-11-13 Alias added: GHSA-3pr5-hpcj-9r5h

References

  • TI-2024-04260 Argument injection in PHP-CGI on Windows lets attackers pass options KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2016-08118 Argument injection in PHPMailer isMail transport allows code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2012-01607 Argument injection in PHP CGI binary allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-78794 Stale global state enables remote code execution in PHP KEVCVSS 4.0CRITICAL 9.2
  • TI-2026-78793 Out-of-memory error handling in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
See all 791 →

Sources