Résumé
Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization
Détails de l’avis
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.
Références
- https://github.com/advisories/GHSA-48qj-5wxh-m8hc
- https://github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc
- https://nvd.nist.gov/vuln/detail/CVE-2026-59192
- https://github.com/cakephp/twig-view/pull/119
- https://github.com/cakephp/twig-view/pull/120
- https://github.com/cakephp/twig-view/commit/65f5035ee65e76925242fdca2dc2bb0d732b6c1d
- https://github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3
- https://github.com/cakephp/twig-view/releases/tag/1.3.3
Vulnérabilités liées
Tout Supply chain →- MEDIUMCVE-2026-128136
NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinks
- HIGHCVE-2026-14265
AWS-advanced-jdbc-wrapper: Java Deserialization RCE via Cache Poisoning
- HIGHCVE-2026-114151
Microsoft Security Advisory CVE-2026-114151 - Visual Studio Remote Code Execution Vulnerability
- CRITICALCVE-2026-126187
React: Unauthenticated Remote Code Execution in React Server Components
- HIGHCVE-2026-115878
Stanza: RCE via pickle deserialization in the lemmatizer
- HIGHCVE-2026-62848
Metalama: Unsafe deserialization over Metalama's Visual Studio inter-process named pipe enables local code execution