cakephp/cakephp
Affected
- introduced
5.3.0, fixed5.3.6(ecosystem)
Fixed versions
5.3.6
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-48820
CakePHP: View::element() is missing a path containment check
ImpactView::_getElementFileName() does not check that the resolved element path is within the application/plugin view template paths. When element names are created with specifically crafted user-supplied data this weakness can be leveraged to include other PHP files on the server.
Patches
Patched releases are available in 5.3.6, 5.2.13, 5.1.7, 4.6.4, and 4.5.11.
Workarounds
If developers are not using user-supplied data in element names, no action is required.
Medium Basis: The source's own band: MODERATE
5.3.0, fixed 5.3.6 (ecosystem)5.3.6
The export has no generic command for this ecosystem.
5.2.0, fixed 5.2.13 (ecosystem)5.2.13
The export has no generic command for this ecosystem.
5.0.0, fixed 5.1.7 (ecosystem)5.1.7
The export has no generic command for this ecosystem.
4.6.0, fixed 4.6.4 (ecosystem)4.6.4
The export has no generic command for this ecosystem.
0, fixed 4.5.11 (ecosystem)4.5.11
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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0