Advisory

GHSA-p46m-g734-vpc4

Also known as: CVE-2026-54614

Summary

cakephp/debug_kit: MailPreview contains unsafe reflection

Details

Impact

The MailPreview feature of debugkit is vulnerable to arbitrary constructor execution. For an application to be vulnerable the following conditions must be true:

  1. debug mode must be enabled.
  2. The hostname must match a 'local' domain or be in an allowlist.

Patches
5.2.4 and 4.10.3 contain patches for this issue.

Workarounds
Ensure that debugkit is only part of your development dependencies, and that debug mode is disabled in production environments.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-08-26 15:31 UTC
Modified
2026-08-26 15:56 UTC

Affected packages and fixes

cakephp/debug_kit

Packagist · All systems

Affected

  • introduced 0, fixed 4.10.3 (ecosystem)

Fixed versions

4.10.3

Fix

The export has no generic command for this ecosystem.

cakephp/debug_kit

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.2.4 (ecosystem)

Fixed versions

5.2.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences