GHSA-7wmf-pw8j-mc78: Medium severity composer/codeigniter4/framework vulnerability

Published Aug 7, 2026
·
Updated

Impact 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.

This may impact applications that rely on isSecure(), forcehttps(), 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.

Patches Upgrade to v4.7.4 or later.

Workarounds Users 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.

Users 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.

Affected Software

1 affected componentFixes available
composer/codeigniter4/framework<4.7.4
4.7.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/codeigniter4/framework to a version that resolves this vulnerability.

    Fixed in 4.7.4
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.7.4
  3. Configuration

    Configure the reverse proxy/load balancer to strip or overwrite client-supplied `X-Forwarded-Proto` and `Front-End-Https` headers before forwarding requests to the application.

    Reverse proxy / load balancer Strip or overwrite client-supplied forwarding headers = Strip or overwrite X-Forwarded-Proto and Front-End-Https before forwarding to the application
  4. Configuration

    Adjust configuration so `IncomingRequest::isSecure()` does not trust client-supplied `X-Forwarded-Proto` and `Front-End-Https` headers from any incoming request.

    CodeIgniter IncomingRequest::isSecure() Trust of X-Forwarded-Proto and Front-End-Https = Do not trust these headers from any incoming request
  5. Compensating control

    If you cannot upgrade immediately, enforce HTTP-to-HTTPS redirects outside CodeIgniter (e.g., Apache `.htaccess`/virtual host rules, nginx server blocks, Caddy site config, or load balancer redirect rules).

Event History

Aug 7, 2026
Advisory Published
via GitHub·06:21 PM
Data Sourced
via GitHub·06:21 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of GHSA-7wmf-pw8j-mc78?

The severity of GHSA-7wmf-pw8j-mc78 is rated as medium with a score of 4.8.

2

What impact does GHSA-7wmf-pw8j-mc78 have on applications?

GHSA-7wmf-pw8j-mc78 allows attackers to spoof headers, leading applications to incorrectly treat HTTP requests as secure.

3

How do I fix GHSA-7wmf-pw8j-mc78?

To mitigate GHSA-7wmf-pw8j-mc78, ensure that your application validates and processes the `X-Forwarded-Proto` and `Front-End-Https` headers securely.

4

Which software is affected by GHSA-7wmf-pw8j-mc78?

The vulnerability GHSA-7wmf-pw8j-mc78 affects the CodeIgniter4 framework.

5

When was GHSA-7wmf-pw8j-mc78 published?

GHSA-7wmf-pw8j-mc78 was published on August 7, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203