CVE Explorer
CVE-2026-48820
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-98","description":"CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e35e687d66c57fa0253924d86f0c58496b4736ca38ccadd781f919bf06be2bad · sha256:9a884457cfa43f0d… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e35e687d66c57fa0253924d86f0c58496b4736ca38ccadd781f919bf06be2bad · sha256:9a884457cfa43f0d… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"cakephp","vendor":"cakephp","versions":[{"status":"affected","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"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e35e687d66c57fa0253924d86f0c58496b4736ca38ccadd781f919bf06be2bad · sha256:9a884457cfa43f0d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e35e687d66c57fa0253924d86f0c58496b4736ca38ccadd781f919bf06be2bad · sha256:9a884457cfa43f0d… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-98","description":"CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e35e687d66c57fa0253924d86f0c58496b4736ca38ccadd781f919bf06be2bad · sha256:9a884457cfa43f0d… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e35e687d66c57fa0253924d86f0c58496b4736ca38ccadd781f919bf06be2bad · sha256:9a884457cfa43f0d… · /containers/cna/problemTypes/1/descriptions/0
Source references
1 source assertion{"name":"https://github.com/cakephp/cakephp/security/advisories/GHSA-wpvj-hjcr-h3p2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cakephp/cakephp/security/advisories/GHSA-wpvj-hjcr-h3p2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e35e687d66c57fa0253924d86f0c58496b4736ca38ccadd781f919bf06be2bad · sha256:9a884457cfa43f0d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.