Skip to main content

Phalcon (cphalcon) EUVDEUVD-2026-64140

| CVE-2026-59989 CRITICAL
Code Injection (CWE-94)
2026-08-21 GitHub_M GHSA-hrwp-4hh9-c8r8
9.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app compiling attacker-influenced Volt
  2. Delivery
    Craft join filter with quote-breaking payload
  3. Exploit
    Break out of generated join('…') call
  4. Execution
    Inject PHP into compiled cache file
  5. Persist
    Volt::render() require()s cache
  6. Impact
    Execute arbitrary PHP on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The concrete prerequisite is that the attacker must be able to influence the source of a Volt template that the application compiles - specifically the arguments passed to the Volt join filter - since those separator and array token bytes are emitted into generated PHP without escaping. Exploitation is limited by the fact that most Phalcon applications use static, developer-authored Volt templates that no attacker can modify; the flaw is only reachable where template source (or the data spliced into a join argument literal) is attacker-controllable, which is reflected by AT:P (Attack Requirements: Present) in the CVSS 4.0 vector. No authentication is required per the vector (PR:N) and no user interaction (UI:N), but the non-default requirement of attacker-influenced template content is the decisive limiting factor.

Impact

The CVSS 4.0 base score is 9.2 (Critical) with vector AV:N/AC:L/AT:P/PR:N/UI:N and full High impact to confidentiality, integrity, and availability of the vulnerable system, reflecting arbitrary PHP execution. The single most important signal is AT:P (Attack Requirements: Present) - exploitation is NOT unconditional: the attacker must be able to influence Volt template source, which is not the case for the common deployment pattern where templates are static and developer-authored. A publicly available PoC exists, raising practical risk, but there is no CISA KEV listing and no confirmed active exploitation, so this is a serious-but-conditional issue rather than a confirmed mass-exploitation event. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quoted. Bottom line: high priority to patch for any application that compiles user-supplied or otherwise attacker-influenceable Volt templates; lower urgency for applications where all Volt sources are trusted and static, though patching remains strongly advised as defense in depth.

Exploit ScenarioDerived

An application allows users to supply or influence Volt template fragments (for example a themable email/report builder or a CMS that lets editors write Volt snippets). The attacker submits a template using the join filter such as {{ ['x'] | join("',[]); echo shell_exec(base64_decode('...')); //") }}, which breaks out of the generated join('…') call. When Phalcon compiles and renders the template, the injected PHP is written to the cache file and executed via require(), running attacker commands on the server - exactly as demonstrated by the published PoC.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 21, 2026

Compile-time PHP code injection in the Phalcon (cphalcon) PHP framework's Volt template compiler (versions 5.15.0 and earlier) lets an attacker who can influence Volt template source achieve remote code execution. The Volt join filter emits the separator and array arguments as raw, unescaped bytes into the generated PHP, so quote-breaking content escapes the join('…') call and is written into the cached compiled template that is then require()'d at render time. Publicly available exploit code exists (a working PoC that runs shell_exec is published in the GHSA advisory); the issue is not listed in CISA KEV and no active exploitation is confirmed.

RemediationAI

Vendor-released patch: 5.16.0 - upgrade the cphalcon extension to 5.16.0 or later, which routes the join filter arguments through proper escaping (fix delivered via pull request https://github.com/phalcon/cphalcon/pull/17217 and commit e434061be3b7161930476c1368c868badc71e1bd). If you cannot immediately rebuild/redeploy the extension, the primary compensating control is to ensure no attacker-controlled input ever reaches Volt template source or join filter arguments: treat all Volt templates as trusted, static, developer-authored artifacts and never compile user-supplied template strings via Compiler::compileString() or dynamic template paths. Additionally, review existing templates for join usage that concatenates request-derived data, and purge/regenerate the Volt compiled-template cache after upgrading to remove any poisoned cache files. Full advisory: https://github.com/phalcon/cphalcon/security/advisories/GHSA-hrwp-4hh9-c8r8.

Affected VersionsENISA

cphalcon < 5.16.0

Affected Packages

composer phalcon/cphalcon fix: 5.16.0
euvd cphalcon fix: 5.16.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in Phalcon's Volt templating engine - a compiled template language that transpiles .volt source into cached PHP files which are executed via require() by Phalcon\Mvc\View\Engine\Volt::render(). In phalcon/Mvc/View/Engine/Volt/Compiler.zep (around lines 2544-2546), the join case builds output as "join('" . funcArguments[1] separator . "', " . funcArguments[0] array . ")", inserting the raw parsed token values directly. Unlike every other Volt expression, these two operands are never routed through the compiler's expression() escaping routine, and Volt's scanner stores string-literal bytes verbatim (escape sequences undecoded), so attacker bytes survive into the generated PHP. The generated-C ground truth confirms this: ZEPHIR_CONCAT_SVSVS(return_value, "join('", &sep, "', ", &arr, ")"). This is a textbook CWE-94 (Improper Control of Generation of Code / code injection), manifesting specifically as server-side template injection that escalates to RCE at compile/render time.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.2 CRITICAL
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
vuln.today AI 8.1 HIGH

Network-reachable RCE with full impact, but AC:H because exploitation requires the non-default condition that attacker-influenced content reaches Volt template/join source; no privileges or user interaction needed.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 21, 2026 - 21:02 EUVD
CVE Published
Aug 21, 2026 - 20:25 cve.org
CRITICAL 9.2

DescriptionCVE.org

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.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Phalcon framework versions 5.15.0 and earlier contain a critical remote code execution vulnerability in the Volt template compiler that could allow attackers to execute arbitrary server-side code. Organizations running affected versions face risk of complete server compromise and data breach. Since publicly available exploit code exists, this represents an immediate and material threat requiring urgent patching.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular C-extension PHP framework, common but far from ubiquitous
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy