CVE-2026-54614
DebugKit: MailPreview contains unsafe reflection
Also known as GHSA-p46m-g734-vpc4
Mitigation
- Upgrade cakephp/debug_kit to one of 4.10.3, 5.2.4 (or later in the same release line).
Who should check
- Projects that depend on Packagist package cakephp/debug_kit (< 4.10.3)
- Anyone running cakephp debug_kit < 4.10.3; >= 5.0.0, < 5.2.4
Vulnerability facts
- Affected
- cakephp/debug_kit < 4.10.3
- Fixed in
- 4.10.3, 5.2.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.54% chance of exploitation in 30 days (percentile 39, 2026-11-26)
- CWE
- CWE-470
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist cakephp/debug_kit | < 4.10.3 | 4.10.3, 5.2.4 | osv |
| cakephp debug_kit | < 4.10.3; >= 5.0.0, < 5.2.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54614. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54614.md Affected: cakephp/debug_kit < 4.10.3 Fixed in: 4.10.3, 5.2.4 Steps: 1. Search this machine and project for cakephp/debug_kit (Packagist), cakephp debug_kit: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-54614 being exploited?
There is no confirmed exploitation: CVE-2026-54614 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54614?
Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-54614?
cakephp/debug_kit < 4.10.3.
Is there a fix for CVE-2026-54614?
Yes. Fixed in 4.10.3, 5.2.4. Upgrade cakephp/debug_kit to one of 4.10.3, 5.2.4 (or later in the same release line).
How do I check if I'm affected by CVE-2026-54614?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.