Skip to main content

CodeIgniter4 CVE-2026-63220

| EUVDEUVD-2026-51396 MEDIUM
Use of Less Trusted Source (CWE-348)
2026-07-31 GitHub_M GHSA-7wmf-pw8j-mc78
4.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify HTTP-accessible CodeIgniter4 backend or misconfigured proxy
  2. Delivery
    Craft HTTP request with spoofed X-Forwarded-Proto: https header
  3. Exploit
    Submit request directly to backend bypassing proxy header enforcement
  4. Execution
    isSecure() returns true without trusted proxy validation
  5. Impact
    Application permits access to HTTPS-only logic or skips security enforcement

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
Exploitation Conditions

Exploitation requires one of two deployment conditions: (1) the CodeIgniter4 backend is directly reachable over HTTP without a reverse proxy, allowing attackers to send arbitrary headers directly to the application, OR (2) a reverse proxy or load balancer is in place but forwards client-supplied X-Forwarded-Proto or Front-End-Https headers to the backend without stripping or overwriting them - a common misconfiguration. Additionally, the application must use isSecure(), force_https(), forceGlobalSecureRequests, or custom logic that calls isSecure() to make security-sensitive decisions. Applications where the reverse proxy correctly rewrites these headers, where the backend is not reachable over plain HTTP, or where $proxyIPs was already manually validated in application code are not exposed. The CVSS PR:N vector indicates no authentication is required once network access conditions are met.

Impact

The NVD CVSS score of 4.8 with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N accurately reflects the conditional nature of exploitation. AC:H is warranted because two deployment preconditions must both be true: the backend must be reachable over plain HTTP, and either no reverse proxy is in place or the proxy fails to strip/overwrite client-supplied forwarding headers. Applications behind a correctly configured proxy that rewrites these headers are not exposed. No EPSS score was provided in the input data, so probability cannot be quantified. The vulnerability is not in CISA KEV and no POC has been identified, meaning exploitation is theoretical at time of analysis rather than confirmed opportunistic. The integrity and confidentiality impact is low - limited to bypassing HTTPS enforcement logic - rather than direct data exfiltration. This is a genuine but narrow security control bypass: high priority for applications relying on isSecure() to gate sensitive operations, but lower urgency for deployments with a hardened proxy layer that strips forwarding headers.

Exploit ScenarioDerived

An attacker sends a plain HTTP POST request directly to a CodeIgniter4 backend with the header X-Forwarded-Proto: https included in the request. Because the application's reverse proxy either does not strip client-supplied headers or is bypassed entirely, isSecure() returns true, causing force_https() or forceGlobalSecureRequests logic to treat the connection as secure and permit access to endpoints intended to be HTTPS-only. No public POC has been identified, but the attack requires only a crafted HTTP request with a spoofed header.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

HTTP security header spoofing in CodeIgniter4 prior to 4.7.4 allows remote unauthenticated attackers to trick the framework into treating plain HTTP requests as HTTPS by injecting forged X-Forwarded-Proto or Front-End-Https headers. The root cause is that IncomingRequest::isSecure() unconditionally trusted these headers from any source rather than restricting trust to configured trusted proxies, undermining isSecure(), force_https(), and forceGlobalSecureRequests enforcement logic. No public exploit or CISA KEV listing exists; real-world impact is conditioned on deployment topology and CVSS AC:H reflects this complexity.

RemediationAI

Upgrade to CodeIgniter4 version 4.7.4, confirmed by the tagged release at https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4 and the fixing commit at https://github.com/codeigniter4/CodeIgniter4/commit/ecbf044666bed41d23f07518096d9843fe6c08b0. After upgrading, ensure Config\App::$proxyIPs is explicitly configured with the IP addresses or CIDR ranges of all trusted reverse proxies; the patched isFromTrustedProxy() returns false when this list is empty, meaning forwarding headers will be ignored by default even on upgraded versions if $proxyIPs is unconfigured. As an immediate compensating control before patching, configure the reverse proxy or load balancer to unconditionally strip and rewrite X-Forwarded-Proto and Front-End-Https headers before forwarding to the backend - this prevents client-supplied values from reaching the application regardless of framework behavior. If the backend is exposed directly over HTTP with no proxy layer, restrict network access via firewall rules to prevent unauthenticated direct connections to the HTTP port.

Affected VersionsENISA

CodeIgniter4 < 4.7.4

Affected Packages

composer codeigniter4/framework fix: 4.7.4
euvd codeigniter4 fix: 4.7.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-348 (Use of Less Trusted Source) describes exactly this flaw: the framework accepted security-sensitive HTTP headers from an untrusted, client-controlled source without validating the origin. The affected component is IncomingRequest::isSecure() in system/HTTP/IncomingRequest.php, which examined X-Forwarded-Proto and Front-End-Https to determine protocol security. These headers are standard reverse-proxy forwarding conventions, but they must only be trusted when the immediate upstream sender is a known, configured proxy - not arbitrary clients. The fix (commit ecbf044) gates all forwarding header trust on a new isFromTrustedProxy() method, which validates REMOTE_ADDR against the Config\App::$proxyIPs allowlist using a refactored checkIPAgainstProxy() helper supporting both IPv4 and IPv6 CIDR ranges. Affected CPE: cpe:2.3:a:codeigniter4:codeigniter4:*:*:*:*:*:*:*:*.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

Network-reachable without authentication but AC:H because exploitation requires specific misconfigured or absent proxy stripping of forwarding headers; low C/I impact as effect is security control bypass, not direct data access.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jul 31, 2026 - 05:01 EUVD

DescriptionCVE.org

CodeIgniter is a PHP full-stack web framework. In versions prior to 4.7.4, IncomingRequest::isSecure() trusted the X-Forwarded-Proto and Front-End-Https headers from any incoming request, allowing an attacker could spoof these headers and cause the application to incorrectly treat an HTTP request as secure. This may have impacted applications that rely on isSecure(), force_https(), forceGlobalSecureRequests, or similar logic to enforce HTTPS-only access or make security-sensitive decisions. Exploitability depends on deployment configuration. Applications are most exposed if the backend is reachable directly over HTTP, or if a reverse proxy/load balancer forwards client-supplied forwarding headers without stripping or overwriting them. This issue has been fixed in version 4.7.4.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular PHP framework with significant adoption but not dominant
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy