medium6.9
CVE-2026-59192
TwigView plugin for CakePHP provides wrappers for common View operations and extensions that expose CakePHP functions and jasny/twig-extensions helpers.
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data or systems being changed.
Affected products · Cakephp
| Product | Affected versions |
|---|---|
| Twig-view | from 2.0.0, before 2.1.2 before 1.3.3 Version < 1.3.3 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc
- https://github.com/cakephp/twig-view/pull/119
- https://github.com/cakephp/twig-view/pull/120
- https://github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3
- https://github.com/cakephp/twig-view/releases/tag/1.3.3
- https://github.com/cakephp/twig-view/releases/tag/2.1.2