CVE-2026-54614

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductCakephp/debug Kit
PublishedAug 26, 2026
First seenAug 26, 2026
Weakness typeCWE-470CWE-470

How to fix

Update
  • cakephp/debug_kit4.10.3, 5.2.4 or later

Affected products

ProductAffected versionsFixed in
cakephp/debug_kitPackagistv < 4.10.3, 5.0.0 ≤ v < 5.2.44.10.3, 5.2.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.