{"id":"CVE-2026-59989","published":"2026-08-21T20:25:44Z","modified":"2026-08-27T16:24:50Z","title":"Phalcon Volt compiler `join` filter compile-time PHP code injection (SSTI lead to RCE)","vendor":"phalcon","product":"cphalcon","tier":"tail","description":{"text":"Phalcon is a high-performance, full-stack PHP framework. In 5.15.0 and earlier, resolveFilter in phalcon/Mvc/View/Engine/Volt/Compiler.zep builds the join filter by inserting the raw separator and array token values into generated PHP without passing them through expression(). An attacker who can influence Volt template source can place quote-breaking content in a join argument, inject PHP into the compiled cache file, and execute it when Phalcon\\Mvc\\View\\Engine\\Volt::render() loads the template. This issue is fixed in version 5.16.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00543,"percentile":0.46513,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/phalcon/cphalcon/security/advisories/GHSA-hrwp-4hh9-c8r8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/phalcon/cphalcon/pull/17217","tags":["x_refsource_MISC"]},{"url":"https://github.com/phalcon/cphalcon/commit/e434061be3b7161930476c1368c868badc71e1bd","tags":["x_refsource_MISC"]},{"url":"https://github.com/phalcon/cphalcon/releases/tag/v5.16.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":9.3},{"name":"CVSS severity","points":6.44}]},"vendorSlug":"phalcon","affectedVersions":[{"vendor":"phalcon","product":"cphalcon","versions":["< 5.16.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-25T03:56:56.036466Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phalcon/cphalcon","vulnerableRanges":["<5.16.0"],"patched":["5.16.0"],"from":["GHSA-hrwp-4hh9-c8r8"],"provenance":"source"}],"summary":{"text":"The flaw is in the Volt template compiler of cphalcon, the PHP extension behind the Phalcon framework, where the join filter in resolveFilter inserts raw separator and array token values into generated PHP without neutralising them. An attacker able to influence Volt template source can use quote-breaking content in a join argument to inject PHP into the compiled cache file, which then executes when the template is rendered, and the attack needs no authentication or user interaction, only the ability to control template source.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:56Z"},"euvd":{"id":"EUVD-2026-64140","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-54736","published":"2026-07-10","fixed":"5.14.1","kev":false},{"cve":"CVE-2026-57584","published":"2026-07-10","fixed":"5.15.0","kev":false,"link":{"from":"CVE-2026-57584","to":"CVE-2026-59989","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phalcon/cphalcon","fromFixed":"5.15.0","toFixed":"5.16.0","daysApart":42}]}},{"cve":"CVE-2026-59989","published":"2026-08-21","fixed":"5.16.0","kev":false}],"package":"Packagist:phalcon/cphalcon"}}