CVE-2026-54614
MEDIUM 4.3CVSS 3.1cakephp/debug_kit: MailPreview contains unsafe reflection
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
- 26 Aug 2026
- Last modified
- 9 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-470
- Also known as
- GHSA-p46m-g734-vpc4
- Sources
- NVDJSONOSV GHSA-p46m-g734-vpc4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | cakephp/debug_kit | < 4.10.3 | 4.10.3 |
| OSV | Packagist | cakephp/debug_kit | >= 5.0.0, < 5.2.4 | 5.2.4 |
References
- https://github.com/cakephp/debug_kit/commit/7c4d85e984c2334b0f50cd02578a927ff9649e13 · WEB
- https://github.com/cakephp/debug_kit/commit/c8a2a9e07d56a5e212d95f6947f370f3b5e6eed6 · WEB
- https://github.com/cakephp/debug_kit/pull/1078 · WEB
- https://github.com/cakephp/debug_kit/releases/tag/4.10.3 · WEB
- https://github.com/cakephp/debug_kit/releases/tag/5.2.4 · WEB
- https://github.com/cakephp/debug_kit/security/advisories/GHSA-p46m-g734-vpc4 · WEB
- https://github.com/cakephp/debug_kit · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 26 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Aug 2026)