---
id: "CVE-2026-128026"
page: "https://infrastack.ai/live/CVE-2026-128026"
kind: "vulnerability"
aliases: ["CVE-2026-128026"]
title: "FrankenPHP: putenv leaks environment values between concurrent requests"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["frankenphp", "php", "runtime", "self-hosted"]
not_affected_if: ["fixed-version", "no-child-processes"]
published_at: "2026-11-13T10:18:08+00:00"
first_seen_at: "2026-11-13T10:47:31+00:00"
updated_at: "2026-11-13T10:54:35+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128026", "first_seen_at": "2026-11-13T10:47:31+00:00"}]
exploit_sources: []
---

# FrankenPHP: putenv leaks environment values between concurrent requests

Link for people: https://infrastack.ai/live/CVE-2026-128026 (this .md is for agents)

FrankenPHP's putenv writes to the process-wide OS environment, so values set by one request can be seen by others running at the same time. An attacker who reaches a request path that spawns child processes through proc_open or exec can read secrets such as database passwords set by other requests.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the FrankenPHP version with `frankenphp version` or the binary used in the image; affected versions are from `1.5.0` before `1.13.0`.
- Search application code for calls to `putenv`, `proc_open` and `exec` on request paths.

## Fix

- FrankenPHP: move to `1.13.0` or later (the sources state this as the fixed version).

## Timeline

- 2026-11-13T10:47:31+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-128026

## Documents

- [advisory] Vendor advisory: github.com https://github.com/php/frankenphp/security/advisories/GHSA-996f-w38m-f574
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/frankenphp-1.5.0-before-1.13.0-cross-request-environment-leakage-via-putenv

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
