Vulnerability · Published Aug 26, 2026 · Assigned by GitHub_M

CVE-2026-54614DebugKit: MailPreview contains unsafe reflection

Medium 4.3

In plain English

A medium-severity security flaw in debug_kit from cakephp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.5%top 54.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistcakephp/debug_kit4.10.3GHSA-p46m-g734-vpc4
Packagistcakephp/debug_kit5.2.4GHSA-p46m-g734-vpc4

Affected products (as reported)

VendorProductVersions
cakephp debug_kit < 4.10.3>= 5.0.0, < 5.2.4

Weakness: CWE-470 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References