HackerFeeds
All CVEs

CVE-2026-142152: CodeIgniter4 Unrestricted File Upload

MEDIUM5.3

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

Not known to be exploited · medium severity — update CodeIgniter4 to 4.7.5 or later on your normal schedule.

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 is limited: integrity is rated low.

CVSS 3.1 metrics for CVE-2026-142152
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.
ConfidentialityNoneNo effect on confidentiality.
IntegrityLowPartial loss of integrity.
AvailabilityNoneNo effect on availability.

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

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 contains a file upload validation bypass in FileRules that allows remote attackers to evade type, extension, size, and dimension checks. Attackers can place an empty UPLOAD_ERR_NO_FILE entry before a disallowed file in an optional multiple-file upload to get it accepted, potentially enabling code execution where uploads are web-accessible.

Advisory text as published in the NVD record.

View on NVD