DebugKit provides a debugging toolbar for CakePHP applications. Prior to 4.10.3 and 5.2.4, the DebugKit MailPreview feature in src/Controller/MailPreviewController.php accepts a route-controlled previewName value in findPreview and passes the resolved class from App::className() to constructor execution without rejecting namespace separators or verifying that the class extends DebugKit\Mailer\MailPreview. An attacker able to access DebugKit while debug mode is enabled and the request hostname is local or allowlisted can select an unintended application class through the mail-preview preview route, resulting in arbitrary constructor execution and limited disclosure of application information. This issue is fixed in versions 4.10.3 and 5.2.4.

Project Subscriptions

Vendors Products
Cakephp Subscribe
Debug Kit Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p46m-g734-vpc4 cakephp/debug_kit: MailPreview contains unsafe reflection
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 29 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Cakephp
Cakephp debug Kit
Vendors & Products Cakephp
Cakephp debug Kit

Wed, 26 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Description DebugKit provides a debugging toolbar for CakePHP applications. Prior to 4.10.3 and 5.2.4, the DebugKit MailPreview feature in src/Controller/MailPreviewController.php accepts a route-controlled previewName value in findPreview and passes the resolved class from App::className() to constructor execution without rejecting namespace separators or verifying that the class extends DebugKit\Mailer\MailPreview. An attacker able to access DebugKit while debug mode is enabled and the request hostname is local or allowlisted can select an unintended application class through the mail-preview preview route, resulting in arbitrary constructor execution and limited disclosure of application information. This issue is fixed in versions 4.10.3 and 5.2.4.
Title DebugKit: MailPreview contains unsafe reflection
Weaknesses CWE-470
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-29T02:40:09.901Z

Reserved: 2026-06-15T19:45:23.541Z

Link: CVE-2026-54614

cve-icon Vulnrichment

Updated: 2026-08-29T02:40:00.904Z

cve-icon NVD

Status : Deferred

Published: 2026-08-26T16:16:28.040

Modified: 2026-09-09T21:09:13.080

Link: CVE-2026-54614

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T20:32:49Z

Weaknesses