CVE-2026-142152 PUBLISHED

CodeIgniter4 before 4.7.5 File Upload Validation Bypass via Empty File Entry

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

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

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

Credits

  • tomasantunes reporter

References

Problem Types

  • Unrestricted Upload of File with Dangerous Type CWE