Vulnerability in Cakephp Debug Kit
CVE-2026-54614
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (43.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 43.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Cakephp Debug Kit — versions < 4.10.3, >= 5.0.0, < 5.2.4
Weakness classification (CWE)
References
- github.com/cakephp/debug_kit/security/advisories/GHSA-p46m-g734-vpc4
- github.com/cakephp/debug_kit/pull/1078
- github.com/cakephp/debug_kit/commit/7c4d85e984c2334b0f50cd02578a927ff9649e13
- github.com/cakephp/debug_kit/commit/c8a2a9e07d56a5e212d95f6947f370f3b5e6eed6
- github.com/cakephp/debug_kit/releases/tag/4.10.3
- github.com/cakephp/debug_kit/releases/tag/5.2.4
Frequently asked questions
- What is CVE-2026-54614?
- CVE-2026-54614 is a medium-severity vulnerability in Cakephp Debug Kit, classified under Use of Externally-Controlled Input to Select Classes or Code (Unsafe Reflection). CVSS score: 4.3/10. Published 2026-08-26.
- How severe is CVE-2026-54614?
- Medium severity. CVSS v3 base score is 4.3 out of 10.