Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-48820— CakePHP: View::element() is missing a path containment check

Quick assessment

Affected
cakephp cakephp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

cakephp是cakephp团队开源的一款Web应用开发框架。 cakephp存在安全漏洞,该漏洞源于View::_getElementFileName()未检查解析的元素路径是否在应用/插件视图模板路径内,当元素名称由特制的用户提供数据创建时,可能导致包含服务器上的其他PHP文件。以下版本受到影响:4.5.11及之前版本、4.6.0至4.6.3版本、5.0.0至5.1.6版本、5.2.0至5.2.12版本和5.3.0至5.3.5版本。

AI Predicted 9.8 Difficulty: Easy EPSS 0.37% · P29

Possible ATT&CK Techniques 1 AI

T1195 · Supply Chain Compromise

Affected Version Matrix 5

VendorProduct Version RangeStatus
cakephp cakephp >= 5.3.0, < 5.3.6 affected
>= 5.2.0, < 5.2.13 affected
>= 5.0.0, < 5.1.7 affected
>= 4.6.0, < 4.6.4 affected
< 4.5.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48820

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CakePHP: View::element() is missing a path containment check
Source: CVE Program / CVE List V5
Vulnerability 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 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
PHP程序中Include/Require语句包含文件控制不恰当(PHP远程文件包含)
Source: CVE Program / CVE List V5
Vulnerability Title
cakephp 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
cakephp是cakephp团队开源的一款Web应用开发框架。 cakephp存在安全漏洞,该漏洞源于View::_getElementFileName()未检查解析的元素路径是否在应用/插件视图模板路径内,当元素名称由特制的用户提供数据创建时,可能导致包含服务器上的其他PHP文件。以下版本受到影响:4.5.11及之前版本、4.6.0至4.6.3版本、5.0.0至5.1.6版本、5.2.0至5.2.12版本和5.3.0至5.3.5版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cakephp cakephp >= 5.3.0, < 5.3.6 -

II. Public POCs for CVE-2026-48820

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48820

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-48820 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48820

No comments yet


Leave a comment