CVE-2026-54614cakephp debug_kit
Medium 4.3
Follow: this CVE · cakephp · cakephp debug_kit We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 26, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-470
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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
- Apply the vendor's security update for debug_kit.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | cakephp/debug_kit |
< 4.10.3 |
4.10.3 |
composer require "cakephp/debug_kit:^4.10.3" |
| Packagist | cakephp/debug_kit |
≥ 5.0.0 < 5.2.4 |
5.2.4 |
composer require "cakephp/debug_kit:^5.2.4" |
Per OSV / GitHub Advisories (GHSA-p46m-g734-vpc4). Check the version in your lockfile before upgrading.
Affected products
- cakephp · debug_kit
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.