Advisory record · GHSA-ghw3-5qvm-3mqc

CodeIgniter4 allows spoofing of IP address when using proxy

CVSS 7.0 HighEPSS 0.0040 · 34th percentile

Published by the GitHub Advisory Database at 22 Dec 2022, 19:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
codeigniter4/frameworkPackagist<4.2.114.2.11
Identifiers
GHSA-ghw3-5qvm-3mqc · BIT-codeigniter-2022-23556 · CVE-2022-23556 · PKSA-5qsc-rptw-773m
Weakness (CWE)
CWE-345
Published
22 Dec 2022
Updated
6 Dec 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

CodeIgniter4 (codeigniter4/framework) versions before 4.2.11 are vulnerable. When the server runs behind a reverse proxy, an attacker can spoof their IP address. Upgrade to version 4.2.11 or later and configure Config\App::$proxyIPs. As a workaround, avoid using $request->getIPAddress().

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.0 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:32 UTC First seen by agentprime
  2. 31 Oct 2026, 14:32 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.