{"id":"CVE-2026-59192","aliases":["CVE-2026-59192","GHSA-48qj-5wxh-m8hc"],"related":[],"kind":"vulnerability","state":"published","title":"TwigView: Deserialization of Untrusted Data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe `unserialize` filter has no restriction on which classes are allowed. This can be used as a deserialization remote-code-execution gadget.\n\n### Patches\n1.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.\n\n### Workarounds\nDon't use the `unserialize` filter.","format":"markdown","source":"ghsa"}],"published":"2026-11-11T04:22:38.885Z","modified":"2026-11-24T18:00:04.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"< 1.3.3","status":"affected"},{"version":">= 2.0.0, < 2.1.2","status":"affected"}],"vendor":"cakephp","product":"twig-view","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.3"}],"ecosystem":"Packagist","package":"cakephp/twig-view","purl":"pkg:composer/cakephp/twig-view","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.1.2"}],"ecosystem":"Packagist","package":"cakephp/twig-view","purl":"pkg:composer/cakephp/twig-view","source":"ghsa"}],"references":[{"url":"https://github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cakephp/twig-view/pull/119","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cakephp/twig-view/pull/120","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cakephp/twig-view/releases/tag/1.3.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cakephp/twig-view/releases/tag/2.1.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59192","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cakephp/twig-view/commit/65f5035ee65e76925242fdca2dc2bb0d732b6c1d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/cakephp/twig-view","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T17:06:54.424Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59192","url":"https://www.cve.org/CVERecord?id=CVE-2026-59192","licence":"CVE Terms of Use","modified":"2026-11-13T17:07:23.729Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-48qj-5wxh-m8hc","url":"https://github.com/advisories/GHSA-48qj-5wxh-m8hc","licence":"CC-BY-4.0","modified":"2026-11-24T18:00:04.190Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59192","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59192","licence":"Public domain","modified":"2026-11-13T17:17:33.030Z"}],"updatedAt":"2026-11-25T22:59:50.316Z","epss":{"score":0.00667,"percentile":0.53147,"date":"2026-12-01T12:00:22.000Z"}}