TwigView: Deserialization of Untrusted Data
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 11, 2026
- Updated
- Nov 13, 2026
- Reserved
- Jul 2, 2026
Description
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.
| Product | Versions |
|---|---|
| twig-view cakephp | < 1.3.3 Affected>= 2.0.0, < 2.1.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | GitHub_M |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
References
- https://github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc
- https://github.com/cakephp/twig-view/pull/119
- https://github.com/cakephp/twig-view/pull/120
- https://github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3
- https://github.com/cakephp/twig-view/releases/tag/1.3.3
- https://github.com/cakephp/twig-view/releases/tag/2.1.2
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.