Skip to content
DayZeroHub
Critical Not yet writtenCVSS 9.3CVE-2026-142155

CVE-2026-142155: CodeIgniter4 before 4.7.5 Upload Validation Bypass via Trailing Dots and PHP Extensions

codeigniter4 CodeIgniter4

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-142155: critical-severity vulnerability (CVSS 9.3) in codeigniter4 CodeIgniter4.

What happened

Original description from the source: 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.

Why it matters

Critical severity, CVSS 9.3.

Affected products and versions

codeigniter4 CodeIgniter4 < 4.7.5; codeigniter4 CodeIgniter4 4.7.5 (fixed in 4.7.5)

ProductVersionsFixed in
codeigniter4 CodeIgniter4< 4.7.5—
codeigniter4 CodeIgniter44.7.54.7.5

Action recommended by the source

Upgrade to a fixed version: 4.7.5.

Fixed in: 4.7.5

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-434

Relevant change history

  1. Published

    Preliminary advisory published.