{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-48820","id":"CVE-2026-48820","title":"CakePHP: View::element() is missing a path containment check","description":"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 leve","descriptionLong":"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.","published":"2026-06-17T21:19:44.238Z","updated":"2026-10-28T02:30:48.099660222Z","reserved":"2026-05-22T20:57:10.977Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["cakephp"],"affectedProducts":[{"vendor":"cakephp","product":"cakephp","defaultStatus":null,"versions":[{"version":">= 5.3.0, < 5.3.6","status":"affected"},{"version":">= 5.2.0, < 5.2.13","status":"affected"},{"version":">= 5.0.0, < 5.1.7","status":"affected"},{"version":">= 4.6.0, < 4.6.4","status":"affected"},{"version":"< 4.5.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","ranges":[">=5.3.0 <5.3.6",">=5.2.0 <5.2.13",">=5.0.0 <5.1.7",">=4.6.0 <4.6.4","<4.5.11"],"fixed":["5.3.6","5.2.13","5.1.7","4.6.4","4.5.11"],"advisory":"GHSA-wpvj-hjcr-h3p2"}],"cwes":["CWE-98","CWE-22"],"aliases":["GHSA-wpvj-hjcr-h3p2"],"references":[{"url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-wpvj-hjcr-h3p2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48820.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48820","tags":["advisory"]},{"url":"https://github.com/cakephp/cakephp","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00258,"epssPercentile":0.17689,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-48820","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48820","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-48820","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wpvj-hjcr-h3p2","ok":true,"note":"GHSA-wpvj-hjcr-h3p2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-48820","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}