---
id: CVE-2026-63220
title: CodeIgniter is a PHP full-stack web framework
summary: >-
  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 an…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-348
vendor: codeigniter4
product: codeigniter4/framework
affected:
  - codeigniter4/framework < 4.7.4
patched:
  - codeigniter4/framework 4.7.4
published: '2026-07-31'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:51:43.490'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-63220'
references:
  - url: >-
      https://github.com/codeigniter4/CodeIgniter4/commit/ecbf044666bed41d23f07518096d9843fe6c08b0
    label: security-advisories@github.com
  - url: 'https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4'
    label: security-advisories@github.com
  - url: >-
      https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-7wmf-pw8j-mc78
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-63220'
  - url: 'https://github.com/advisories/GHSA-7wmf-pw8j-mc78'
tags:
  - nvd
  - ghsa
  - composer
epss: 0.00168
epssPercentile: 0.05472
aliases:
  - GHSA-7wmf-pw8j-mc78
ecosystem: composer
ingestedAt: '2026-08-07T19:16:20.464Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-63220)

Affected packages:

- `codeigniter4/framework < 4.7.4`

Patched in:

- `codeigniter4/framework 4.7.4`

Source: https://github.com/advisories/GHSA-7wmf-pw8j-mc78
