{"id":"CVE-2026-128019","kind":"vulnerability","aliases":["CVE-2026-128019"],"related":[],"title":"FrankenPHP: worker mode leaks request environment variables into later requests","description":"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.","summary":"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.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["frankenphp","php","runtime","self-hosted","worker-mode"],"not_affected_if":["fixed-version","no-request-env","not-worker-mode"],"how_to_check":"- Check the FrankenPHP version with `frankenphp version` or the Docker image tag; affected versions are before `1.13.4`.\n- Look for worker mode in the Caddyfile or config: `worker` directives, and `env` directives with request placeholders or `WithRequestEnv()` calls in Go code.\n- Check whether the app reads `getenv()` or `$_SERVER` for routing, tenant or authorization decisions.","fix":"- FrankenPHP: upgrade to `1.13.4` or later.","status":"open","published_at":"2026-11-13T10:18:07+00:00","first_seen_at":"2026-11-13T10:47:30+00:00","triaged_at":"2026-11-13T10:55:13+00:00","updated_at":"2026-11-13T10:55:13+00:00","category":"runtime","confidence":0.7,"triage":{"at":"2026-11-13T10:55:13Z","model":"claude-haiku-5-5","output":{"fix":"- FrankenPHP: upgrade to `1.13.4` or later.","reach":"internet","title":"FrankenPHP: worker mode leaks request environment variables into later requests","impact":"medium","summary":"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.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["frankenphp","php","worker-mode","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"one request reads another user's environment values","analyst_note":"Confirm the affected version range and the exact fixed release from the GitHub patch and vendor advisory linked in the sources.","how_to_check":"- Check the FrankenPHP version with `frankenphp version` or the Docker image tag; affected versions are before `1.13.4`.\n- Look for worker mode in the Caddyfile or config: `worker` directives, and `env` directives with request placeholders or `WithRequestEnv()` calls in Go code.\n- Check whether the app reads `getenv()` or `$_SERVER` for routing, tenant or authorization decisions.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["not-worker-mode","no-request-env","fixed-version"],"who_is_affected":"Applications running FrankenPHP before 1.13.4 in worker mode that use env directives with request placeholders or WithRequestEnv(), and read those values through getenv() or $_SERVER for decisions. Deployments not using worker mode or these env settings are not exposed by this description.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000785,"input_tokens":4630,"output_tokens":643,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-128019':13A,16A '-2026':12A,15A '1.13.4':78C 'act':66B,122C 'anoth':53B,68B,124C 'app':65B 'applic':120C 'attack':47B,102C 'author':74B,130C 'carri':35B 'caus':119C 'contain':79C 'cve':11A,14A 'direct':109C 'disclosur':82C 'env':108C 'environ':6A,33B,92C 'frankenphp':1A,17B,27B,76C 'getenv':58B,116C 'handl':40B 'host':22B 'inform':81C 'later':9A,38B,95C 'leak':4A,88C 'make':63B 'mode':3A,25B,29B,86C 'per':31B,90C 'per-request':30B,89C 'php':18B,44B,100C 'placehold':112C 'read':49B,104C 'request':5A,10A,32B,39B,56B,91C,96C,111C 'rout':71B,127C 'runtim':19B 'self':21B 'self-host':20B 'server':60B,118C 'set':51B,106C 'tenant':72B,128C 'thread':45B,101C 'user':54B,69B,125C 'valu':50B,75B,105C,131C 'variabl':7A,34B,93C 'via':107C 'vulner':83C 'withrequestenv':114C 'worker':2A,24B,28B,85C 'worker-mod':23B","nicknames":[],"mitigations":[],"who_affected":"Applications running FrankenPHP before 1.13.4 in worker mode that use env directives with request placeholders or WithRequestEnv(), and read those values through getenv() or $_SERVER for decisions. Deployments not using worker mode or these env settings are not exposed by this description.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["frankenphp","medium","php","runtime","selfhosted","workermode"],"campaign_type":null,"search_a":"'-128019':13A,16A '-2026':12A,15A 'cve':11A,14A 'environ':6A 'frankenphp':1A 'later':9A 'leak':4A 'mode':3A 'request':5A,10A 'variabl':7A 'worker':2A","search_b":"'act':66B 'anoth':53B,68B 'app':65B 'attack':47B 'author':74B 'carri':35B 'environ':33B 'frankenphp':17B,27B 'getenv':58B 'handl':40B 'host':22B 'later':38B 'make':63B 'mode':25B,29B 'per':31B 'per-request':30B 'php':18B,44B 'read':49B 'request':32B,39B,56B 'rout':71B 'runtim':19B 'self':21B 'self-host':20B 'server':60B 'set':51B 'tenant':72B 'thread':45B 'user':54B,69B 'valu':50B,75B 'variabl':34B 'worker':24B,28B 'worker-mod':23B","search_c":"'1.13.4':78C 'act':122C 'anoth':124C 'applic':120C 'attack':102C 'author':130C 'caus':119C 'contain':79C 'direct':109C 'disclosur':82C 'env':108C 'environ':92C 'frankenphp':76C 'getenv':116C 'inform':81C 'later':95C 'leak':88C 'mode':86C 'per':90C 'per-request':89C 'php':100C 'placehold':112C 'read':104C 'request':91C,96C,111C 'rout':127C 'server':118C 'set':106C 'tenant':128C 'thread':101C 'user':125C 'valu':105C,131C 'variabl':93C 'via':107C 'vulner':83C 'withrequestenv':114C 'worker':85C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-10-26T16:53:42+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-128019","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128019","severity":null,"published_at":"2026-11-13T10:18:07+00:00","modified_at":"2026-11-13T10:18:07+00:00","first_seen_at":"2026-11-13T10:47:30+00:00","fetched_at":"2026-11-13T10:47:30+00:00","note":null}],"documents":[{"id":145337,"url":"https://github.com/php/frankenphp/commit/72f9366de07093ba3f524af3e6c73451012e5199","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":145338,"url":"https://github.com/php/frankenphp/security/advisories/GHSA-8386-64gm-3m8q","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-10-26T16:53:42+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":145339,"url":"https://www.vulncheck.com/advisories/frankenphp-before-1.13.4-information-disclosure-via-per-request-environment-variable-leak","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}