CVE-2026-63220: CodeIgniter Spoofable Forwarded HTTPS Headers Vulnerability
MODERATECVE-2026-63220 is a MODERATE (CVSS 4.8) spoofable forwarded https headers vulnerability (CWE-348: Use of Less Trusted Source) affecting CodeIgniter libraries in the Packagist ecosystem. The issue involves spoofable forwarded https headers in incomingrequest::issecure(). Remediation is available by upgrading affected packages to version 4.7.4.
CVE-2026-63220 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-63220
To remediate this vulnerability, upgrade all affected CodeIgniter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade codeigniter4/framework to 4.7.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for codeigniter4/framework
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-63220, inspect your project dependencies for CodeIgniter:
inspect dependencies for codeigniter4/framework
Analyze the terminal output to locate any version of CodeIgniter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.7.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-348: Use of Less Trusted Source, where the product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack. In CodeIgniter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-63220 Affected CodeIgniter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
codeigniter4/framework
|
Packagist |
< 4.7.4
|
4.7.4
|
References
Frequently Asked Questions
What is CVE-2026-63220?
Which CodeIgniter versions are affected?
What version fixes CVE-2026-63220?
Is codeigniter4/framework affected?
What is the CVSS score of CVE-2026-63220?
What CWE is associated with CVE-2026-63220?
How can I check Packagist dependencies for CVE-2026-63220?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7wmf-pw8j-mc78",
"modified" : "2026-08-07T18:21:54Z",
"published" : "2026-08-07T18:21:54Z",
"aliases" : [ "CVE-2026-63220" ],
"summary" : "CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure()",
"details" : "### Impact\n`IncomingRequest::isSecure()` trusted the `X-Forwarded-Proto` and `Front-End-Https` headers from any incoming request. In affected deployments, an attacker could spoof these headers and cause the application to incorrectly treat an HTTP request as secure.\n\nThis may impact applications that rely on `isSecure()`, `force_https()`, `forceGlobalSecureRequests`, or similar logic to enforce HTTPS-only access or make security-sensitive decisions.\n\nExploitability 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.\n\n### Patches\nUpgrade to v4.7.4 or later.\n\n### Workarounds\nUsers who cannot upgrade immediately should enforce HTTP-to-HTTPS redirects outside CodeIgniter, for example with Apache `.htaccess`/virtual host rules, nginx server blocks, Caddy site config, or load balancer redirect rules.\n\nUsers should also ensure that reverse proxies strip or overwrite client-supplied `X-Forwarded-Proto` and `Front-End-Https` headers before forwarding requests to the application.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "codeigniter4/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.7.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-7wmf-pw8j-mc78"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-63220"
}, {
"type" : "WEB",
"url" : "https://github.com/codeigniter4/CodeIgniter4/commit/ecbf044666bed41d23f07518096d9843fe6c08b0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/codeigniter4/CodeIgniter4"
}, {
"type" : "WEB",
"url" : "https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-348" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-07T18:21:54Z",
"nvd_published_at" : "2026-07-31T04:17:24Z"
}
}