CVE record · CVE-2026-142155

CodeIgniter4 before 4.7.5 Upload Validation Bypass via Trailing Dots and PHP Extensions

CVSS 9.3 CriticalCriticalEPSS 0.0098 · 63rd percentile

Critical, because:

  • CVSS score 9.3: 9.0 or more.

How we decide what’s critical

Published by the CVE Program (CNA: VulnCheck) at 2 Dec 2026, 14:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
codeigniter4 CodeIgniter4
  • affected before 4.7.5 semver
  • unaffected 4.7.5 semver
Other versions: unaffected
Identifiers
CVE-2026-142155
CNA
VulnCheck
Weakness (CWE)
CWE-434
Published
2 Dec 2026
Updated
2 Dec 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

CodeIgniter4 versions before 4.7.5 can be bypassed in upload validation: the is_image and mime_in rules accept filenames with trailing dots that hide a PHP extension, and these rules and ext_in accept a PHP extension placed before the final image extension. An attacker who can submit uploads can use this to plant a PHP file, which can lead to remote code execution when the application stores client-supplied filenames in a web directory that runs PHP. Upgrade to CodeIgniter4 4.7.5 or later.

Written 2 Dec 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.3 Critical 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (VulnCheck)Used for this record
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0098, the 63rd percentile, on 3 Dec 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 2 Dec 2026, 14:37 UTC Confirmed by the CVE List
  2. 2 Dec 2026, 14:50 UTC First seen by agentprime
  3. 2 Dec 2026, 15:17 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.