CVE-2026-59192 Details
Description
TwigView plugin for CakePHP provides wrappers for common View operations and extensions that expose CakePHP functions and jasny/twig-extensions helpers. Prior to versions 1.3.3 and 2.1.2, the unserialize filter has no restriction on which classes are allowed. This can used as a deserialization remote-code-execution gadget. This issue has been patched in versions 1.3.3 and 2.1.2.
A deserialization vulnerability allowing remote code execution has been identified in the TwigView plugin for CakePHP, affecting versions prior to 1.3.3 and 2.1.2. The issue arises because the 'unserialize' filter does not restrict which classes can be used, creating a weakness that can be exploited by manipulating user input to craft payloads that execute arbitrary code during the deserialization process.
Users can upgrade to TwigView versions 1.3.3 or 2.1.2, both of which include patches for this vulnerability. However, it's important to note that the fix may affect backward compatibility if deserializing PHP objects in templates was previously relied upon.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 11, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3 | [email protected] | Source CodeVendor |
| https://github.com/cakephp/twig-view/pull/119 | [email protected] | Issue TrackingVendor |
| https://github.com/cakephp/twig-view/pull/120 | [email protected] | Issue TrackingVendor |
| https://github.com/cakephp/twig-view/releases/tag/1.3.3 | [email protected] | Release NotesVendor |
| https://github.com/cakephp/twig-view/releases/tag/2.1.2 | [email protected] | Release NotesVendor |
| https://github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| CakePHP TwigView | < 1.3.3 (semver) < 2.1.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 11, 2026 | New CVE Received | [email protected] |
Volerion