Packagist
CVE-2026-59192
Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization
- Severity
- Medium
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 1.3.3, 2.1.2
- Exploit chance
- 0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-48qj-5wxh-m8hc
- Sources
- OSV.dev and GitHub
Description
The unserialize filter has no restriction on which classes are allowed. This can be used as a deserialization remote-code-execution gadget.
Workarounds
Don't use the unserialize filter.
Affected software
| Software | Affected versions |
|---|---|
cakephp/twig-viewPackagist · osv:Packagist:cakephp/twig-view |
|
About cakephp/twig-view
- Monthly downloads (Packagist)
- 449,094Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 7,300,360Packagist, 24 Nov 2026
Vulnerabilities in cakephp/twig-view
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-59191TwigView FileLoader may allow arbitrary file reads through user-controlled template pathsMedium 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59192
- GitHub Advisory Database https://github.com/advisories/GHSA-48qj-5wxh-m8hc