CVE-2026-54614: CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in cakephp debug_kit
Description
CVE-2026-54614 is a medium severity vulnerability in the CakePHP DebugKit component affecting versions prior to 4.10.3 and 5.2.4. The vulnerability involves unsafe reflection in the MailPreview feature, where an attacker with access to DebugKit in debug mode and from a local or allowlisted hostname can cause arbitrary constructor execution by manipulating the previewName parameter. This can lead to limited disclosure of application information. The issue is fixed in DebugKit versions 4.10.3 and 5.2.4.
CVSS v3.1
Score 4.3medium
Affected software
cakephp
debug_kit
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The DebugKit MailPreview feature in CakePHP versions before 4.10.3 and 5.2.4 accepts a route-controlled previewName parameter that is resolved to a class name via App::className() without filtering namespace separators or verifying inheritance from DebugKit\Mailer\MailPreview. This allows an attacker with DebugKit access under debug mode and local or allowlisted hostname conditions to select unintended application classes, resulting in arbitrary constructor execution and limited information disclosure. The vulnerability is classified as CWE-470 (Use of Externally-Controlled Input to Select Classes or Code).
Potential Impact
An attacker able to access DebugKit while debug mode is enabled and the request originates from a local or allowlisted hostname can exploit this vulnerability to execute arbitrary constructors of unintended classes. This may lead to limited disclosure of application information. There is no indication of privilege escalation, denial of service, or remote code execution beyond constructor invocation. Known exploits in the wild have not been reported.
Mitigation Recommendations
This vulnerability is fixed in CakePHP DebugKit versions 4.10.3 and 5.2.4. Users should upgrade to these or later versions to remediate the issue. No other official remediation or temporary fixes are documented. If upgrading is not immediately possible, restricting access to DebugKit and disabling debug mode in production environments can reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T19:45:23.541Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8f0bdbacd9273b4917ded4
Added to database: 08/26/2026, 15:52:59 UTC
Last enriched: 09/10/2026, 10:24:48 UTC
Last updated: 10/10/2026, 06:48:17 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.