NetSight
critical9.2

CVE-2026-59989

Phalcon Volt compiler `join` filter compile-time PHP code injection (SSTI leads to RCE)

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
composerphalcon/cphalcon<= 5.15.05.16.0

Weakness classification

References