cvelo
P2 · HighCVSS 9.8EPSS 1.0%

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

  • CVE-2026-142155
  • GHSA-q5xr-c38q-hfh2
  • EUVD-2026-141463

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.

Text from the CVE.org record.

Recommendation

  • CodeIgniter4

    • If you run a version before 4.7.5update to 4.7.5 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • CodeIgniter4

    Affected versionsFixed in
    before 4.7.54.7.5

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.