Skip to main content
EPSS 0.5%top 57%

CVE-2026-54614: CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in cakephp debug_kit

0
Medium
VulnerabilityCVE-2026-54614cvecve-2026-54614cwe-470
Published: 08/26/2026 (08/26/2026, 15:30:23 UTC)
Source: CVE Database V5
Vendor/Project: cakephp
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

cakephp

debug_kit

Affected versions
<4.10.3>=5.0.0 <5.2.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 10:24:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses