---
id: "CVE-2026-128019"
page: "https://infrastack.ai/live/CVE-2026-128019"
kind: "vulnerability"
aliases: ["CVE-2026-128019"]
title: "FrankenPHP: worker mode leaks request environment variables into later requests"
severity: "medium"
cvss: 6.3
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["frankenphp", "php", "runtime", "self-hosted", "worker-mode"]
not_affected_if: ["fixed-version", "no-request-env", "not-worker-mode"]
published_at: "2026-11-13T10:18:07+00:00"
first_seen_at: "2026-11-13T10:47:30+00:00"
updated_at: "2026-11-13T10:55:13+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128019", "first_seen_at": "2026-11-13T10:47:30+00:00"}]
exploit_sources: []
---

# FrankenPHP: worker mode leaks request environment variables into later requests

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

In FrankenPHP worker mode, per-request environment variables carry over into later requests handled on the same PHP thread. An attacker can read values set for another user's request through getenv() or $_SERVER, which can make an app act on another user's routing, tenant or authorization values.

_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 Docker image tag; affected versions are before `1.13.4`.
- Look for worker mode in the Caddyfile or config: `worker` directives, and `env` directives with request placeholders or `WithRequestEnv()` calls in Go code.
- Check whether the app reads `getenv()` or `$_SERVER` for routing, tenant or authorization decisions.

## Fix

- FrankenPHP: upgrade to `1.13.4` or later.

## Timeline

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

## Documents

- [advisory] Vendor advisory: github.com https://github.com/php/frankenphp/security/advisories/GHSA-8386-64gm-3m8q
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/frankenphp-before-1.13.4-information-disclosure-via-per-request-environment-variable-leak
- [fix] Patch: github.com https://github.com/php/frankenphp/commit/72f9366de07093ba3f524af3e6c73451012e5199

## From the sources

FrankenPHP before 1.13.4 contains an information disclosure vulnerability in worker mode that leaks per-request environment variables into later requests on the same PHP thread. Attackers can read values set via env directives with request placeholders or WithRequestEnv() through getenv() or $_SERVER, causing applications to act on another user's routing, tenant, or authorization values.

---

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