{"id":"CVE-2026-59192","summary":"TwigView: Deserialization of Untrusted Data","details":"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.","aliases":["GHSA-48qj-5wxh-m8hc"],"modified":"2026-11-18T20:47:21.631709356Z","published":"2026-11-11T04:22:38.885Z","database_specific":{"cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59192.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/cakephp/twig-view/releases/tag/1.3.3"},{"type":"WEB","url":"https://github.com/cakephp/twig-view/releases/tag/2.1.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59192.json"},{"type":"ADVISORY","url":"https://github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59192"},{"type":"FIX","url":"https://github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3"},{"type":"FIX","url":"https://github.com/cakephp/twig-view/pull/119"},{"type":"FIX","url":"https://github.com/cakephp/twig-view/pull/120"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cakephp/twig-view","events":[{"introduced":"0"},{"fixed":"65f5035ee65e76925242fdca2dc2bb0d732b6c1d"},{"introduced":"abf3c5c9b3eacb5b9fe0357de6ca9b21b1de7244"},{"fixed":"99a59407b138a0efff0ce3896cbf67e71a9c9cd3"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.3.3"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"2.0.0"},{"fixed":"2.1.2"}]},{"range":[{"fixed":"99a59407b138a0efff0ce3896cbf67e71a9c9cd3"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"65f5035ee65e76925242fdca2dc2bb0d732b6c1d"}],"source":"REFERENCES_TAG","original_tag":"1.3.3"},{"original_tag":"2.1.2","range":[{"fixed":"99a59407b138a0efff0ce3896cbf67e71a9c9cd3"}],"source":"REFERENCES_TAG"}]}}],"versions":["1.3.2","2.1.1","1.3.1","2.1.0","2.0.3","2.0.2","2.0.1","2.0.0","1.3.0","1.2.0","1.1.1","1.1.0","1.0.2","1.0.1","1.0.0-RC2","1.0.0","1.0.0-RC1","1.0.0-beta2","1.0.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-59192.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}