CVE-2026-142155 PUBLISHED

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

Assigner: VulnCheck
Reserved: 02.12.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor codeigniter4
Product CodeIgniter4
Versions Default: unaffected
  • affected from 0 to 4.7.5 (excl.)
  • Version 4.7.5 is unaffected

Credits

  • thefoulowl reporter

References

Problem Types

  • Unrestricted Upload of File with Dangerous Type CWE