Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59989: CWE-94: Improper Control of Generation of Code ('Code Injection') in phalcon cphalcon

0
Critical
VulnerabilityCVE-2026-59989cvecve-2026-59989cwe-94cwe-1336
Published: 08/21/2026 (08/21/2026, 20:25:44 UTC)
Source: CVE Database V5
Vendor/Project: phalcon
Product: cphalcon

Description

CVE-2026-59989 is a critical code injection vulnerability in the Phalcon PHP framework's Volt template engine. In versions 5.15.0 and earlier, the resolveFilter function improperly inserts raw values into generated PHP code without proper sanitization, allowing an attacker who can control Volt template source to inject and execute arbitrary PHP code. This issue is fixed in version 5.16.0.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

GitHub Actionsmore threats →ai
phalcon/cphalcon
pkg:github/phalcon/cphalcon
Affected versions
<5.16.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 20:52:32 UTC

Technical Analysis

Phalcon's Volt template engine in versions up to 5.15.0 contains a code injection vulnerability (CWE-94) in the resolveFilter method of phalcon/Mvc/View/Engine/Volt/Compiler.zep. The method builds join filters by inserting raw separator and array token values directly into generated PHP code without passing them through the expression() function for sanitization. An attacker able to influence the Volt template source can inject quote-breaking content into join arguments, resulting in arbitrary PHP code injection into the compiled cache file. This code executes when the template is rendered via Phalcon\Mvc\View\Engine\Volt::render(). The vulnerability is resolved in version 5.16.0.

Potential Impact

Successful exploitation allows an unauthenticated attacker with the ability to control Volt template source code to execute arbitrary PHP code on the server, leading to full system compromise. The vulnerability has a CVSS 4.0 score of 9.2 (critical), indicating high attack vector and impact with no user interaction required.

Mitigation Recommendations

This vulnerability is fixed in Phalcon version 5.16.0. Users should upgrade to version 5.16.0 or later to remediate this issue. No other temporary mitigations or vendor advisories are provided; patching is the recommended action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-07T19:41:00.005Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a88b714acd9273b49b4168b

Added to database: 08/21/2026, 20:37:40 UTC

Last enriched: 08/21/2026, 20:52:32 UTC

Last updated: 08/21/2026, 21:02:41 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses