Home / cakephp / cakephp / CVE-2026-48820
CVE-2026-48820: is it exploited, and which versions of cakephp are affected and fixed?
CVE-2026-48820 is a PHP file inclusion vulnerability in cakephp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: cakephp/cakephp from 5.3.0 before 5.3.6, cakephp/cakephp from 5.2.0 before 5.2.13, cakephp/cakephp from 5.0.0 before 5.1.7 and 2 more (GitHub advisory GHSA-wpvj-hjcr-h3p2). Fixed in 5.3.6, 5.2.13, 5.1.7, 4.6.4 and 1 more (GitHub advisory GHSA-wpvj-hjcr-h3p2). Severity: Medium (6.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-48820?
CakePHP: View::element() is missing a path containment check
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.
From the CVE record by GitHub_M, last updated June 18, 2026, 13:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cakephp | cakephp | >= 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 |
As the CVE record by GitHub_M states it, last updated June 18, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | cakephp/cakephp | >= 5.3.0, < 5.3.6 | 5.3.6 | GHSA-wpvj-hjcr-h3p2 |
| Packagist | cakephp/cakephp | >= 5.2.0, < 5.2.13 | 5.2.13 | GHSA-wpvj-hjcr-h3p2 |
| Packagist | cakephp/cakephp | >= 5.0.0, < 5.1.7 | 5.1.7 | GHSA-wpvj-hjcr-h3p2 |
| Packagist | cakephp/cakephp | >= 4.6.0, < 4.6.4 | 4.6.4 | GHSA-wpvj-hjcr-h3p2 |
| Packagist | cakephp/cakephp | < 4.5.11 | 4.5.11 | GHSA-wpvj-hjcr-h3p2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 26, 2026. Summary: CakePHP: View::element() is missing a path containment check.
How severe is CVE-2026-48820?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-48820 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 18, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 18.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/cakephp/cakephp/security/advisories/GHSA-wpvj-hjcr-h3p2 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 22, 2026
- Published
- June 17, 2026, 21:19 UTC
- CVE record updated
- June 18, 2026, 13:54 UTC by GitHub_M
- NVD
- Deferred, last modified June 23, 2026, 15:44 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cakephp?
- Oct 30, 2026CVE-2026-119419 cakephp: SQL injection
- Oct 30, 2026CVE-2026-119418 cakephp: SQL injection
- Oct 30, 2026CVE-2026-119417 cakephp: improper Neutralization of CRLF Sequences
- Oct 30, 2026CVE-2026-119416 cakephp: origin not validated
- Oct 30, 2026CVE-2026-119415 cakephp: improper Neutralization of CRLF Sequences
- Sep 17, 2026CVE-2026-79752 cakephp: SQL injection
- Aug 24, 2026CVE-2026-77634 cakephp: improper Neutralization of CRLF Sequences
- Aug 24, 2026CVE-2026-77635 cakephp: SQL injection
Questions about CVE-2026-48820
Is CVE-2026-48820 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of cakephp are affected by CVE-2026-48820?
cakephp/cakephp from 5.3.0 before 5.3.6, cakephp/cakephp from 5.2.0 before 5.2.13, cakephp/cakephp from 5.0.0 before 5.1.7, cakephp/cakephp from 4.6.0 before 4.6.4 and cakephp/cakephp before 4.5.11, per the GitHub advisory GHSA-wpvj-hjcr-h3p2. The tables above give every range the sources list.
Which version fixes CVE-2026-48820?
5.3.6, 5.2.13, 5.1.7, 4.6.4 and 4.5.11, per the GitHub advisory GHSA-wpvj-hjcr-h3p2. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-48820?
Medium (6.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-48820?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.