CVE-2022-23556Codeigniter
High 7.5 No auth needed
Follow: this CVE · Codeigniter · Codeigniter We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 25
- Auth required
- No
- Published
- Dec 22, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
CodeIgniter is a PHP full-stack web framework. This vulnerability may allow attackers to spoof their IP address when the server is behind a reverse proxy. This issue has been patched, please upgrade to version 4.2.11 or later, and configure `Config\App::$proxyIPs`. As a workaround, do not use `$request->getIPAddress()`.
What to do
- Apply the vendor's security update for Codeigniter.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | codeigniter4/framework |
< 4.2.11 |
4.2.11 |
composer require "codeigniter4/framework:^4.2.11" |
Per OSV / GitHub Advisories (GHSA-ghw3-5qvm-3mqc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| codeigniter | codeigniter | ≥ 4.0.0 < 4.2.11 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory