Intel

AIKIDO-2025-10966

dereuromark/cakephp-dto is vulnerable to Unsafe Deserialization

Unsafe Deserialization Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 18, 2025

50

Medium Risk

This Affects:

PHPdereuromark/cakephp-dto
1.5.0 - 2.3.0
Fixed in 2.4.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to unsafe deserialization because the __unserialize() method processes untrusted serialized data without sufficient validation or filtering. This allows unexpected or malicious fields to be injected during object reconstruction, potentially leading to unintended application behavior or security impact depending on how the object is later used. The issue is addressed in the patched version by enforcing a strict allowlist, ensuring that only known and expected fields are deserialized.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you are using the Session.deserialize function.

Background info

dereuromark/cakephp-dto is vulnerable to Unsafe Deserialization in versions 1.5.0 - 2.3.0.

How to fix this

Upgrade the dereuromark/cakephp-dto library to the patch version.