Skip to main content
VulnerabilityPublished

CVE-2026-59192: Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization

Affects cakephp/twig-viewSource GCVE Database

0
Compare
Authoritative record:CVE-2026-59192· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 1.3.3 when convenient.

Data as of 24 Nov 2026, 18:41 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.06.9
Patch
Available – fixed in 1.3.3, 2.1.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade cakephp/twig-view to 1.3.3; cakephp/twig-view to 2.1.2.

Affected software

ProductAffectedFixed in
Packagistcakephp/twig-viewAffected
  • <1.3.3
Fixed in
  • 1.3.3
Packagistcakephp/twig-viewAffected
  • >=2.0.0 <2.1.2
Fixed in
  • 2.1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Apply the official patches by upgrading to CakePHP twig-view versions 1.3.3 or 2.1.2, which fix the vulnerability. If immediate patching is not possible, avoid using the 'unserialize' filter in Twig templates to mitigate the risk. Note that the fix may affect backward compatibility if your templates rely on deserializing PHP objects.

Description

The CakePHP twig-view package contains a vulnerability in its 'unserialize' Twig filter that allows arbitrary object deserialization without restrictions on allowed classes. This flaw can be exploited to achieve remote code execution. Fixed versions 1.3.3 and 2.1.2 address this issue, though the fix may break backward compatibility if templates rely on deserializing PHP objects. Users are advised to avoid using the 'unserialize' filter as a workaround.

References

Community reviews

Loading reviews…