CVE-2026-59989
CVE-2026-59989 · Phalcon Volt compiler `join` filter compile-time PHP code injection (SSTI lead to RCE)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.2 · Critical · EPSS 0.5% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
cphalcon
- Versions
- < 5.16.0: Affected
No fix published
phalcon/cphalcon Packagist
- Versions
- 5.10.0
- 5.12.0
- 5.9.0
- 5.9.1
- 5.9.2
- 5.9.3
- v3.0.0
- v3.0.1
- v3.0.2
- v3.0.3
- v3.0.4
- v3.1.0
- v3.1.0-alpha1
- v3.1.0-alpha2
- v3.1.1
- v3.1.2
- v3.2.0
- v3.2.1
- v3.2.2
- v3.2.3
- v3.2.4
- v3.3.0
- v3.3.1
- v3.3.2
- v3.4.0
- v3.4.1
- v3.4.2
- v3.4.3
- v3.4.4
- v3.4.5
- v4.0.0
- v4.0.0-alpha.2
- v4.0.0-alpha.3
- v4.0.0-alpha.4
- v4.0.0-alpha.5
- v4.0.0-alpha1
- v4.0.0-beta.1
- v4.0.0-beta.2
- v4.0.0-rc.1
- v4.0.0-rc.2
- v4.0.0-rc.3
- v4.0.1
- v4.0.2
- v4.0.3
- v4.0.4
- v4.0.5
- v4.0.6
- v4.1.0
- v4.1.1
- v4.1.2
- v4.1.3
- v5.0.0
- v5.0.0-alpha.1
- v5.0.0-alpha.2
- v5.0.0RC1
- v5.0.0RC2
- v5.0.0RC3
- v5.0.0RC4
- v5.0.0alpha3
- v5.0.0alpha4
- v5.0.0alpha5
- v5.0.0alpha6
- v5.0.0alpha7
- v5.0.0beta1
- v5.0.0beta2
- v5.0.0beta3
- v5.0.1
- v5.0.2
- v5.0.3
- v5.0.4
- v5.0.5
- v5.1.0
- v5.1.1
- v5.1.2
- v5.1.3
- v5.1.4
- v5.11.0
- v5.11.1
- v5.12.1
- v5.13.0
- v5.14.0
- v5.14.1
- v5.14.2
- v5.15.0
- v5.2.0
- v5.2.1
- v5.2.2
- v5.2.3
- v5.3.0
- v5.3.1
- v5.4.0
- v5.5.0
- v5.6.0
- v5.6.1
- v5.6.2
- v5.7.0
- v5.8.0
- Affected ranges
- ECOSYSTEM: < 5.16.0
Update to 5.16.0
Original sources
- https://github.com/phalcon/cphalcon/security/advisories/GHSA-hrwp-4hh9-c8r8
- https://github.com/phalcon/cphalcon/pull/17217
- https://github.com/phalcon/cphalcon/commit/e434061be3b7161930476c1368c868badc71e1bd
- https://github.com/phalcon/cphalcon/releases/tag/v5.16.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-59989