Live threats

All CVEs / Cakephp

CVE-2016-4793Cakephp

High 7.5 No auth needed

Priority
61
CVSS 3.0
7.5
EPSS
5.1%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Jan 23, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Cakephp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist cakephp/cakephp ≥ 1.2.0 < 2.6.13 2.6.13 composer require "cakephp/cakephp:^2.6.13"
Packagist cakephp/cakephp ≥ 2.7.0-rc1 < 2.7.11 2.7.11 composer require "cakephp/cakephp:^2.7.11"
Packagist cakephp/cakephp ≥ 2.8.0-rc1 < 2.8.2 2.8.2 composer require "cakephp/cakephp:^2.8.2"
Packagist cakephp/cakephp ≥ 3.0.0-rc1 < 3.0.17 3.0.17 composer require "cakephp/cakephp:^3.0.17"
Packagist cakephp/cakephp ≥ 3.1.0-beta1 < 3.1.12 3.1.12 composer require "cakephp/cakephp:^3.1.12"
Packagist cakephp/cakephp ≥ 3.2.0-rc1 < 3.2.5 3.2.5 composer require "cakephp/cakephp:^3.2.5"

Per OSV / GitHub Advisories (GHSA-j8p3-8m69-2hqq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cakephpcakephp≤ 3.2.4

Official sources

References

Links published by the sources. Open them with care.