NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-54614: cakephp/debug_kit: MailPreview contains unsafe reflection

mediumCVSS 3.1 4.3GHSA-p46m-g734-vpc4

Impact The MailPreview feature of debugkit is vulnerable to arbitrary constructor execution. For an application to be vulnerable the following conditions must be true: 1. debug mode must be enabled. 2. The hostname must match a 'local' domain or be in an allowlist. Patches 5.2.4 and 4.10.3 contain patches for this issue.

Published Aug 26, 2026

Affected packages

cakephp/debug_kit

Ecosystem
Composer (PHP)
Affected
< 4.10.3
Fixed in
4.10.3
Check
composer show cakephp/debug_kit

cakephp/debug_kit

Ecosystem
Composer (PHP)
Affected
>= 5.0.0, < 5.2.4
Fixed in
5.2.4
Check
composer show cakephp/debug_kit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

The MailPreview feature of debugkit is vulnerable to arbitrary constructor execution. For an application to be vulnerable the following conditions must be true:

  1. debug mode must be enabled.
  2. The hostname must match a 'local' domain or be in an allowlist.

Patches

5.2.4 and 4.10.3 contain patches for this issue.

Workarounds

Ensure that debugkit is only part of your development dependencies, and that debug mode is disabled in production environments.

Credited to edorian.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology