CVE-2020-35239: A vulnerability exists in CakePHP versions 4.0.x through 4.1.3
CVE-2020-35239 is a high-severity flaw (CVSS 8.8) affecting cakephp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A vulnerability exists in CakePHP versions 4.0.x through 4.1.3. The CsrfProtectionMiddleware component allows method override parameters to bypass CSRF checks by changing the HTTP request method to an arbitrary string that is not in the list of request methods that CakePHP checks. Additionally, the route middleware does not verify that this overriden method (which can be an arbitrary string) is actually an HTTP method.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 51%) |
| CISA exploited list | No |
| Weakness | CWE-352 |
| Published | 2021-01-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-35239?
cakephp: upgrade to newer than 4.1.3. Exact commands for each OS are on this page.
Is CVE-2020-35239 being exploited?
CVE-2020-35239 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-35239 affect?
CVE-2020-35239 affects cakephp. Severity is high (CVSS 8.8). A vulnerability exists in CakePHP versions 4.0.x through 4.1.3. The CsrfProtectionMiddleware component allows method override parameters to bypass CSRF checks by changing the HTTP request method to an arbitrary string that is not in the lis
How urgent is CVE-2020-35239?
Priority 43/100. High severity
Related CVEs
- CVE-2026-55590 MEDIUM 6.1 UPGRADE CakePHP Authentication is an authentication plugin for CakePHP that can also be used in PSR-7 based applicatio
- CVE-2026-23643 MEDIUM 5.4 UPGRADE CakePHP is a rapid development framework for PHP
- CVE-2023-22727 CRITICAL 9.8 UPGRADE CakePHP is a development framework for PHP web apps
- CVE-2020-15400 MEDIUM 4.3 UPGRADE CakePHP before 4.0.6 mishandles CSRF token generation
- CVE-2019-11458 HIGH 7.5 DOWNGRADE An issue was discovered in SmtpTransport in CakePHP 3.7.6