HackerFeeds
All CVEs

CVE-2026-142155: CodeIgniter4 Unrestricted File Upload

CRITICAL9.8

Published 2026-12-02 · Updated 2026-12-03 · Source disclosure@vulncheck.com

Remotely exploitable without authentication — update CodeIgniter4 to 4.7.5 or later as a priority.

What to do

  1. Update CodeIgniter4 to version 4.7.5 or later. Versions before 4.7.5 are affected.
  2. Until it is patched, do not leave CodeIgniter4 reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Disable script execution in upload directories and restrict who can upload.

Affected and fixed versions

ProductAffectedFixed in
CodeIgniter4< 4.7.54.7.5

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.

CVSS 3.1 metrics for CVE-2026-142155
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityHighTotal loss of availability.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: Unrestricted File Upload

An attacker can upload a file type the server will execute, typically a web shell, leading to code execution.

Classified as CWE-434.

Description

CodeIgniter4 before 4.7.5 has an upload validation bypass: the is_image and mime_in rules accept filenames whose trailing dots conceal a PHP extension, and these rules and ext_in accept a PHP extension before the final image extension. Attackers can upload such files to achieve remote code execution when applications keep client-supplied filenames in a web directory that executes PHP.

Advisory text as published in the NVD record.

View on NVD