All vulnerabilities

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
Weakness
Deserialization of untrusted data (CWE-502)
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.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Don't use the unserialize filter.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
cakephp/twig-viewPackagist · osv:Packagist:cakephp/twig-view
  • Every version before 1.3.3
  • From 2.0.0 before 2.1.2

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
Search the list for cakephp/twig-view

References