CVE-2026-59192
Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization
6.9
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| cakephp/twig-view | composer | < 1.3.3 | 1.3.3 | GitHub |
| cakephp/twig-view | composer | >= 2.0.0, < 2.1.2 | 2.1.2 | GitHub |