Security mailing lists by PureSourceCode

CVE-2026-54614

MEDIUM 4.3CVSS 3.1

cakephp/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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed 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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.