Deserialization in Cakephp Twig-View
CVE-2026-59192
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
EPSS exploit prediction
EPSS 0.006, 49.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cakephp Twig-View — versions < 1.3.3, >= 2.0.0, < 2.1.2
Weakness classification (CWE)
References
- github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc
- github.com/cakephp/twig-view/pull/119
- github.com/cakephp/twig-view/pull/120
- github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3
- github.com/cakephp/twig-view/releases/tag/1.3.3
- github.com/cakephp/twig-view/releases/tag/2.1.2