2084AI Security Observatory

2084-W-261125-017VulnerabilitiesPatch NotesGlobal

CakePHP twig-view unserialize filter flaw fixed in 1.3.3 and 2.1.2

Automated report: written by AI from the sources listed below and checked by automated fact-checks. No human editor reviewed it before publication. Report an error →

Share this flash as an image

Creating the image…

GitHub Security Advisories published an advisory for cakephp/twig-view, where the unserialize Twig filter restricts no classes and can act as a deserialization remote-code-execution gadget. The affected versions are below 1.3.3 and from 2.0.0 up to 2.1.2. GitHub Security Advisories scored it 6.9 (CVSS v4.0, per GitHub Security Advisories). Fixes ship in 1.3.3 and 2.1.2; the advisory warns the fix may affect backwards compatibility for templates that deserialize PHP objects. The stated workaround is not to use the unserialize filter.

AI-written · not human-reviewed

What to do

Upgrade cakephp/twig-view to 1.3.3, 2.1.2 or later, as listed in the GitHub Security Advisories advisory.

Sources

  1. GitHub Security Advisories · Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization Official & standards · 2026-11-25 · Primary