KeygraphLabs · CVE MCP

CVE-2016-4793 · mitre

CVE-2016-4793

The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.

Published 2017-01-23, last changed 2026-06-17. Weakness: CWE-20.

CVSS
7.5
high, from NVD
EPSS
5.15%
percentile 92.7%, chance of exploitation in 30 days
Exploitation
Public exploit
1 public reference

Public exploits

SourceKindReference
exploit-dbproof-of-conceptEDB-39813

How to fix

Upgrade to a fixed version: cakephp/cakephp 2.6.13, 2.7.11, 2.8.2, 3.0.17, 3.1.12, 3.2.5 (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.

Where the flaw is in the code

Fixed in cakephp/cakephp by 908754649f. Functions changed by the fix: clientIp. Regression tests: tests/TestCase/Network/RequestTest.php. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-01-23Published
2022-05-14Package advisory GHSA-j8p3-8m69-2hqq
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 5.15%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-j8p3-8m69-2hqqcakephp/cakephp (Packagist)2.6.13
GHSA-j8p3-8m69-2hqqcakephp/cakephp (Packagist)2.7.11
GHSA-j8p3-8m69-2hqqcakephp/cakephp (Packagist)2.8.2
GHSA-j8p3-8m69-2hqqcakephp/cakephp (Packagist)3.0.17
GHSA-j8p3-8m69-2hqqcakephp/cakephp (Packagist)3.1.12

Also known as: GHSA-j8p3-8m69-2hqq

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-352392021-01-268.8same 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-2016-4793, or call /api/v1/vulnerabilities/CVE-2016-4793. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org