Skip to content
OpenAdvisories
Critical · 9.2 CVE-2026-59989 EUVD-2026-64140GHSA-hrwp-4hh9-c8r8

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

Published Aug 21, 2026 · Updated Aug 27, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
phalcon cphalcon < 5.16.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phalcon/cphalcon < 5.16.0 5.16.0 GHSA-hrwp-4hh9-c8r8

References