CVE-2026-59192

Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization

Medium published · updated · also known as GHSA-48QJ-5WXH-M8HC

6.9
CVSS score out of 10 · NVD (github.com)

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 / packageEcosystem / vendorVersionsFixed inSource
cakephp/twig-view composer < 1.3.31.3.3 GitHub
cakephp/twig-view composer >= 2.0.0, < 2.1.22.1.2 GitHub

References