CVE-2026-54614
DebugKit provides a debugging toolbar for CakePHP applications. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cakephp/debug_kit/commit/7c4d85e984c2334b0f50cd02578a927ff9649e13
- github.com/cakephp/debug_kit/commit/c8a2a9e07d56a5e212d95f6947f370f3b5e6eed6
- github.com/cakephp/debug_kit/pull/1078
- github.com/cakephp/debug_kit/releases/tag/4.10.3
- github.com/cakephp/debug_kit/releases/tag/5.2.4
- github.com/cakephp/debug_kit/security/advisories/GHSA-p46m-g734-vpc4
- github.com/advisories/GHSA-p46m-g734-vpc4
- nvd.nist.gov/vuln/detail/CVE-2026-54614
- cve.org/CVERecord?id=CVE-2026-54614
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.