# CVE-2022-23556: CodeIgniter is vulnerable to IP address spoofing when using proxy

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-22T18:50:55.443Z
- Modified: 2026-06-17T04:30:20.987Z
- Also known as: GHSA-ghw3-5qvm-3mqc, BIT-CODEIGNITER-2022-23556
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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()`.

(As written by CVE List.)

## Affected

- codeigniter4 CodeIgniter4: < 4.2.11
- codeigniter4/framework (Packagist): before 4.2.11
- codeigniter codeigniter: from 4.0.0 before 4.2.11
- codeigniter (Bitnami): from 4.0.0 before 4.2.11

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-ghw3-5qvm-3mqc> (exploit, third-party-advisory, web)
- <https://github.com/codeigniter4/CodeIgniter4/commit/5ca8c99b2db09a2a08a013836628028ddc984659> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23556> (advisory)
- <https://codeigniter4.github.io/userguide/incoming/request.html#CodeIgniter\HTTP\Request::getIPAddress> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter4/framework/CVE-2022-23556.yaml> (web)
- <https://github.com/codeigniter4/CodeIgniter4> (package)

## Sources

- CVE List: [CVE-2022-23556](https://www.cve.org/CVERecord?id=CVE-2022-23556), CVE Terms of Use, modified 2025-04-15
- GitHub Advisory Database: [GHSA-ghw3-5qvm-3mqc](https://github.com/advisories/GHSA-ghw3-5qvm-3mqc), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2022-23556](https://nvd.nist.gov/vuln/detail/CVE-2022-23556), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CODEIGNITER-2022-23556](https://osv.dev/vulnerability/BIT-CODEIGNITER-2022-23556), Apache-2.0, modified 2024-03-06

---

Page: https://cve.day/CVE-2022-23556 · Whole record: https://cve.day/CVE-2022-23556.json · Rebuilt by cve.day 2026-11-25T22:58:17.755Z
