Skip to main content
EPSS 0.1%top 97%

Framework: CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure() (CVE-2026-63220)

0
Medium
Published: 08/07/2026 (08/07/2026, 18:21:54 UTC)
Source: GCVE Database
Product: codeigniter4/framework

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

Packagistghsa
codeigniter4/framework
Affected versions
<4.7.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:20:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses