# CVE-2026-54614: DebugKit: MailPreview contains unsafe reflection

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-08-26T15:30:23.966Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: GHSA-p46m-g734-vpc4
- Weaknesses: CWE-470
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- cakephp debug_kit: < 4.10.3; >= 5.0.0, < 5.2.4
- cakephp/debug_kit (Packagist): before 4.10.3; from 5.0.0 before 5.2.4

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/cakephp/debug_kit/security/advisories/GHSA-p46m-g734-vpc4> (web)
- <https://github.com/cakephp/debug_kit/pull/1078> (web)
- <https://github.com/cakephp/debug_kit/commit/7c4d85e984c2334b0f50cd02578a927ff9649e13> (web)
- <https://github.com/cakephp/debug_kit/commit/c8a2a9e07d56a5e212d95f6947f370f3b5e6eed6> (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> (package)

## Sources

- CVE List: [CVE-2026-54614](https://www.cve.org/CVERecord?id=CVE-2026-54614), CVE Terms of Use, modified 2026-08-29
- GitHub Advisory Database: [GHSA-p46m-g734-vpc4](https://github.com/advisories/GHSA-p46m-g734-vpc4), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-54614](https://nvd.nist.gov/vuln/detail/CVE-2026-54614), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-54614 · Whole record: https://cve.day/CVE-2026-54614.json · Rebuilt by cve.day 2026-11-25T22:59:35.409Z
