Home/Research/Post

GHSA-48qj-5wxh-m8hc: Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization

  • Severity: MEDIUM
  • CVE: CVE-2026-59192
  • Ecosystems: composer, composer
  • Packages: cakephp/twig-view, cakephp/twig-view

### Impact
The `unserialize` filter has no restriction on which classes are allowed. This can be used as a deserialization remote-code-execution gadget.

### Patches
1.3.3 and 2.1.2 contain a fix for this issue. The fix may impact backwards compatibility if you are relying on deserializing PHP objects in your templates.

### Workarounds
Don’t use the `unserialize` filter.

Source: GitHub Security Advisories · 2026-11-24