All reports
High

CodeIgniter4 allows spoofing of IP address when using proxy

Affected versions

Affected versions
< 4.2.11
Fixed version
4.2.11

Exploitation

CVE-2022-23556

Probability of exploitation in the next 30 days: 0.40%

FIRST EPSS · 2026-11-20

Description

Impact

This vulnerability may allow attackers to spoof their IP address when your server is behind a reverse proxy.

Patches

Upgrade to v4.2.11 or later, and configure Config\App::$proxyIPs.

Workarounds

Do not use $request->getIPAddress().

References
For more information

If you have any questions or comments about this advisory:

Links