cakephp/twig-view · Security

Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization

GHSA ID
GHSA-48qj-5wxh-m8hc
CVE ID
CVE-2026-59192
Severity
medium
Published
Updated
CVSS v4
6.9 · 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

Description

Impact

The unserialize filter has no restriction on which classes are allowed. This can be used as a deserialization remote-code-execution gadget.

Patches

1.3.3 and 2.1.2 contain a fix for this issue. The fix may impact backwards compatibility if you are relying on deserializing PHP objects in your templates.

Workarounds

Don't use the unserialize filter.

CWEs

References