{"id":"UBUNTU-CVE-2026-48820","details":"CakePHP is a rapid development framework for PHP. In versions 4.5.11 and earlier, 4.6.0 through 4.6.3, 5.0.0 through 5.1.6, 5.2.0 through 5.2.12, and 5.3.0 through 5.3.5, View::_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. Patched releases are available in 5.3.6, 5.2.13, 5.1.7, 4.6.4, and 4.5.11.","modified":"2026-09-24T02:00:28.672353102Z","published":"2026-06-17T22:16:00Z","upstream":["CVE-2026-48820"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-48820"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-48820"}],"affected":[{"package":{"name":"cakephp","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.2-1","2.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cakephp","binary_version":"2.8.0-1"},{"binary_name":"cakephp-scripts","binary_version":"2.8.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48820.json"}},{"package":{"name":"cakephp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.10.11-2","binary_name":"cakephp"},{"binary_version":"2.10.11-2","binary_name":"cakephp-scripts"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48820.json"}},{"package":{"name":"cakephp","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cakephp?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.11-2.1","2.10.24-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cakephp","binary_version":"2.10.24-1"},{"binary_name":"cakephp-scripts","binary_version":"2.10.24-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48820.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}