CVE-2026-59989
CRITICAL 9.2CVSS 4.0Phalcon Volt compiler `join` filter compile-time PHP code injection (SSTI leads to RCE)
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.
- Published
- 21 Aug 2026
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1336CWE-94
- Also known as
- GHSA-hrwp-4hh9-c8r8
- Sources
- NVDJSONOSV GHSA-hrwp-4hh9-c8r8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.2 | 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | phalcon/cphalcon | < 5.16.0 | 5.16.0 |
References
- https://github.com/phalcon/cphalcon/commit/e434061be3b7161930476c1368c868badc71e1bd · WEB
- https://github.com/phalcon/cphalcon/pull/17217 · WEB
- https://github.com/phalcon/cphalcon/releases/tag/v5.16.0 · WEB
- https://github.com/phalcon/cphalcon/security/advisories/GHSA-hrwp-4hh9-c8r8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59989 · ADVISORY
- https://github.com/phalcon/cphalcon · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 21 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Aug 2026)