CVE-2026-54614

published 26 Aug 2026 · updated 29 Aug 2026

DebugKit: MailPreview contains unsafe reflection

4.3MediumCVSS 4.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cakephp<4.10.3, >=5.0.0 <5.2.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-54614 severity on Zeptric[![CVE-2026-54614](https://zeptric.io/badge/cve/CVE-2026-54614.svg)](https://zeptric.io/cve/CVE-2026-54614)