CVE-2026-59192cakephp twig-view
Remote code execution in TwigView unserialize filter for CakePHP
Medium 6.9 No auth needed
Follow: this CVE · cakephp · cakephp twig-view We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Nov 11, 2026
- Updated
- Nov 13, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
The TwigView plugin for CakePHP contains an unserialize filter with no restrictions on allowed classes. An unauthenticated attacker can exploit this as a deserialization gadget to execute remote code on the server.
Show the original NVD 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.
What to do
Patch available · fixed versions: 1.3.3, 2.1.2
Update TwigView to version 1.3.3 or 2.1.2 depending on your CakePHP branch.
- Apply the vendor's security update for twig-view.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | cakephp/twig-view |
< 1.3.3 |
1.3.3 |
composer require "cakephp/twig-view:^1.3.3" |
| Packagist | cakephp/twig-view |
≥ 2.0.0 < 2.1.2 |
2.1.2 |
composer require "cakephp/twig-view:^2.1.2" |
Per OSV / GitHub Advisories (GHSA-48qj-5wxh-m8hc). Check the version in your lockfile before upgrading.
Affected products
- cakephp · twig-view
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
On social media
1 person and 1 post on Bluesky in the last 30 days.
Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky
Official sources
References
Links published by the sources. Open them with care.