KeygraphLabs · CVE MCP

CVE-2020-35239 · mitre

CVE-2020-35239

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.

Published 2021-01-26, last changed 2026-06-17. Weakness: CWE-352.

CVSS
8.8
high, from NVD
EPSS
0.61%
percentile 50.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: cakephp/cakephp 4.0.10, 4.1.4 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2021-01-26Published
2022-05-24Package advisory GHSA-9pgx-pf36-w46r
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.61%

Affected packages

AdvisoryPackageFixed in
GHSA-9pgx-pf36-w46rcakephp/cakephp (Packagist)4.0.10
GHSA-9pgx-pf36-w46rcakephp/cakephp (Packagist)4.1.4

Also known as: GHSA-9pgx-pf36-w46r

Related

CVEPublishedCVSSSummary
CVE-2026-1194172026-10-306.3CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport
CVE-2026-797522026-09-179.2CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection
CVE-2026-776352026-08-249.2CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
CVE-2026-776342026-08-248.2CakePHP: SmtpTransport vulnerable to CRLF header injection
CVE-2026-488202026-06-176.3CakePHP: View::element() is missing a path containment check
CVE-2026-236432026-01-165.4CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting
CVE-2023-227272023-01-179.8Database Query::offset() and limit() vulnerable to SQL injection in cakephp
CVE-2020-154002020-06-304.3same package: cakephp/cakephp (Packagist)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2020-35239, or call /api/v1/vulnerabilities/CVE-2020-35239. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org