Read the docs

Unsafe deserialization in TwigView plugin for CakePHP

Priority LOW 31CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.

Summary

TwigView plugin for CakePHP (cakephp twig-view) is affected before 1.3.3 and from 2.0.0 before 2.1.2. Its unserialize filter does not restrict which classes may be deserialized, which is CWE-502. A remote attacker without privileges or user interaction can use it as a gadget for remote code execution.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00608 49th percentileScored 2026-11-16
Fix Fixed twig-view (cakephp): 1.3.3, 2.1.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cakephptwig-viewbefore 1.3.3; 2.0.0 to before 2.1.21.3.3, 2.1.2Patch availableCNA
  • twig-view Vendorcakephp Affected before 1.3.3; 2.0.0 to before 2.1.2 Fixed in 1.3.3, 2.1.2 Patch available CNA

Remediation

Upgrade twig-view to version 1.3.3 or 2.1.2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

  • Fix · CNA twig-view (cakephp) Fixed in 1.3.3, 2.1.2

Timeline

  1. 2026-11-11 Threatist record created from CVE-2026-59192
  2. 2026-11-12 Priority changed: MEDIUM → LOW
  3. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2010-04068 The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x… CVSS 2.0HIGH 7.5
  • TI-2026-82995 Cookie leakage in CakePHP HTTP client cookie domain matching CVSS 4.0MEDIUM 6.3
  • TI-2026-19037 CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting CVSS 3.1MEDIUM 5.4
  • TI-2023-08901 Database Query::offset() and limit() vulnerable to SQL injection in cakephp CVSS 3.1CRITICAL 9.8
  • TI-2026-54106 CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver CVSS 4.0CRITICAL 9.2
  • TI-2026-55232 CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection CVSS 4.0CRITICAL 9.2
See all 24 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences