Framework: CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure() (CVE-2026-63220)
CodeIgniter framework versions prior to 4.7.4 contain a vulnerability in IncomingRequest::isSecure() where the function trusts the X-Forwarded-Proto and Front-End-Https headers from incoming requests. This allows an attacker to spoof these headers and cause the application to incorrectly treat an HTTP request as secure. This can impact applications relying on isSecure() or similar HTTPS enforcement logic. Exploitability depends on deployment configuration, especially if the backend is directly reachable over HTTP or if reverse proxies do not properly sanitize forwarding headers. A patch is available in version 4.7.4.
AI Analysis
Technical Summary
The vulnerability in CodeIgniter's IncomingRequest::isSecure() method arises because it trusts the X-Forwarded-Proto and Front-End-Https headers from any incoming request without validation. An attacker can spoof these headers to make the application treat an HTTP request as if it were HTTPS. This affects security-sensitive decisions and HTTPS enforcement mechanisms such as isSecure(), force_https(), and forceGlobalSecureRequests. The risk is higher if the backend server is accessible over HTTP or if reverse proxies/load balancers forward client-supplied headers without stripping or overwriting them. The issue is addressed by upgrading to CodeIgniter version 4.7.4 or later.
Potential Impact
An attacker can spoof forwarded HTTPS headers to bypass HTTPS enforcement in affected CodeIgniter applications, potentially causing the application to treat insecure HTTP requests as secure. This could lead to security-sensitive logic being bypassed, impacting confidentiality and integrity of data handled by the application. The impact is limited to deployments where the backend is directly reachable over HTTP or where reverse proxies do not sanitize forwarding headers. There is no indication of availability impact or known exploits in the wild.
Mitigation Recommendations
Upgrade CodeIgniter to version 4.7.4 or later to apply the official fix. If immediate upgrade is not possible, enforce HTTP-to-HTTPS redirects outside the application using web server or load balancer configurations (e.g., Apache .htaccess, nginx server blocks, Caddy config). Additionally, ensure reverse proxies or load balancers strip or overwrite client-supplied X-Forwarded-Proto and Front-End-Https headers before forwarding requests to the backend application.
Framework: CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure() (CVE-2026-63220)
Description
CodeIgniter framework versions prior to 4.7.4 contain a vulnerability in IncomingRequest::isSecure() where the function trusts the X-Forwarded-Proto and Front-End-Https headers from incoming requests. This allows an attacker to spoof these headers and cause the application to incorrectly treat an HTTP request as secure. This can impact applications relying on isSecure() or similar HTTPS enforcement logic. Exploitability depends on deployment configuration, especially if the backend is directly reachable over HTTP or if reverse proxies do not properly sanitize forwarding headers. A patch is available in version 4.7.4.
CVSS v3.1
Score 4.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in CodeIgniter's IncomingRequest::isSecure() method arises because it trusts the X-Forwarded-Proto and Front-End-Https headers from any incoming request without validation. An attacker can spoof these headers to make the application treat an HTTP request as if it were HTTPS. This affects security-sensitive decisions and HTTPS enforcement mechanisms such as isSecure(), force_https(), and forceGlobalSecureRequests. The risk is higher if the backend server is accessible over HTTP or if reverse proxies/load balancers forward client-supplied headers without stripping or overwriting them. The issue is addressed by upgrading to CodeIgniter version 4.7.4 or later.
Potential Impact
An attacker can spoof forwarded HTTPS headers to bypass HTTPS enforcement in affected CodeIgniter applications, potentially causing the application to treat insecure HTTP requests as secure. This could lead to security-sensitive logic being bypassed, impacting confidentiality and integrity of data handled by the application. The impact is limited to deployments where the backend is directly reachable over HTTP or where reverse proxies do not sanitize forwarding headers. There is no indication of availability impact or known exploits in the wild.
Mitigation Recommendations
Upgrade CodeIgniter to version 4.7.4 or later to apply the official fix. If immediate upgrade is not possible, enforce HTTP-to-HTTPS redirects outside the application using web server or load balancer configurations (e.g., Apache .htaccess, nginx server blocks, Caddy config). Additionally, ensure reverse proxies or load balancers strip or overwrite client-supplied X-Forwarded-Proto and Front-End-Https headers before forwarding requests to the backend application.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7wmf-pw8j-mc78
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63220"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a7742aabf8831d539b08d86
Added to database: 08/08/2026, 14:52:26 UTC
Last enriched: 08/08/2026, 15:20:38 UTC
Last updated: 09/22/2026, 02:04:48 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.