FrankenPHP leaks session data between requests in worker mode
Published Feb 12, 2026 · Updated Oct 23, 2026 · Also known as GHSA-r3xh-3r3w-47gp, GO-2026-4489
Original summary
Normalized public record · Updated Oct 23, 2026
FrankenPHP leaks session data between requests in worker mode
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
When running FrankenPHP in worker mode, the $SESSION superglobal is not correctly reset between requests. This allows a subsequent request processed by the same worker to access the $SESSION data of the previous request (potentially belonging to a different user) before sessionstart() is called.
Potential impact
This is a cross-request data leakage vulnerability. Confidentiality: If an application reads $SESSION before calling sessionstart(), it can access sensitive information (authentication tokens, user IDs, PII) belonging to the previous user. Logic Errors / Impersonation: If application logic relies on $SESSION being empty or unset to detect a "guest" state, or checks for specific keys in $SESSION prior to session initialization, a malicious actor (or accidental race condition) could trigger privilege escalation or user impersonation. This affects only users running FrankenPHP in worker mode and not sessionstart() for each request, which is done by default by most frameworks.
Technical context
In standard PHP execution, the environment is torn down completely after every request. In FrankenPHP's worker mode, the application stays in memory, and superglobals are manually reset between requests. The vulnerability exists because $SESSION is stored in the Zend Engine's symbol table (EG(symboltable)). While the standard PHP request shutdown (RSHUTDOWN) decrements the reference count of the session data, it does not remove the $SESSION variable itself from the symbol table. FrankenPHP's reset logic (frankenphpresetsuperglobals) previously cleared other superglobals but failed to explicitly delete $SESSION. Consequently, until sessionstart() is called in the new request (which re-initializes the variable), the $SESSION array retains the data from the previous request processed by that specific worker thread.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- 10%
- Aliases
- GHSA-r3xh-3r3w-47gp, GO-2026-4489
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
Record history
Published Feb 12, 2026 · Last refreshed Oct 23, 2026