CVE-2026-59192: Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization
The unserialize filter has no restriction on which classes are allowed. This can be used as a deserialization remote-code-execution gadget.
References
- github.com/advisories/GHSA-48qj-5wxh-m8hc
- github.com/cakephp/twig-view/commit/65f5035ee65e76925242fdca2dc2bb0d732b6c1d
- github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3
- github.com/cakephp/twig-view/pull/119
- github.com/cakephp/twig-view/pull/120
- github.com/cakephp/twig-view/releases/tag/1.3.3
- github.com/cakephp/twig-view/releases/tag/2.1.2
- github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc
- nvd.nist.gov/vuln/detail/CVE-2026-59192
Code Behaviors & Features
Detect and mitigate CVE-2026-59192 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →