Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-63220 EUVD-2026-51396GHSA-7wmf-pw8j-mc78

CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure()

Published Jul 31, 2026 · Updated Jul 31, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
codeigniter4 CodeIgniter4 < 4.7.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 php-codeigniter-framework No fix yet —
Ubuntu 26.04 LTS php-codeigniter-framework No fix yet —
Ubuntu 24.04 LTS php-codeigniter-framework No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist codeigniter4/framework < 4.7.4 4.7.4 GHSA-7wmf-pw8j-mc78

References