Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-142155 — CodeIgniter4

Critical · CVSS 9.3 First seen December 02, 2026

One of 7 CodeIgniter4 vulnerabilities published together by NVD: our article covers all of them.

PHPWebVulnerabilities

Research article

CodeIgniter4 Upload Validation Bypass Enables Remote Code Execution

CVECVE-2026-142155
Vendor and productCodeIgniter4
PublishedDecember 02, 2026 15:50 UTC
Research cut-offDecember 02, 2026 15:40 UTC
Sources reviewed2: NVD record (last modified 2026-12-02); CISA KEV catalog

Executive summary

CVE-2026-142155 impacts CodeIgniter4 versions prior to 4.7.5, allowing attackers to bypass upload validation and execute arbitrary code. The CVSS 3.1 score is 9.8 CRITICAL, assigned by disclosure@vulncheck.com. The reviewed sources do not mention any confirmed exploitation. The main recommendation is to upgrade to the fixed version 4.7.5 [1].

Key points

  • CVE-2026-142155 enables remote code execution through an upload validation bypass [1].
  • The CVSS 3.1 score is 9.8 CRITICAL, assigned by disclosure@vulncheck.com [1].
  • The vulnerability impacts CodeIgniter4 versions before 4.7.5 [1].
  • CVE-2026-142155 is not included in the CISA KEV catalog [2].
  • The main action is to upgrade to CodeIgniter4 version 4.7.5 [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0CVSS 3.1
CVE-2026-142155CodeIgniterCodeIgniter4CWE-4349.3 CRITICAL, scored by disclosure@vulncheck.com9.8 CRITICAL, scored by disclosure@vulncheck.com
PublishedLast ModifiedRecord Status
2026-12-02T15:17:262026-12-02T15:17:26Received

Vulnerability description

CodeIgniter4 versions before 4.7.5 allow attackers to bypass upload validation by using filenames that include trailing dots to hide PHP extensions. These filenames can be accepted by the isimage and mimein rules, as well as the extin rule, enabling remote code execution when the application keeps client-provided filenames in a web directory that runs PHP [1].

Attack surface and exploitation prerequisites

The CVSS 3.1 vector indicates that the vulnerability requires no user interaction and no privileges. The attack can be launched over a network, and it has a high impact on confidentiality, integrity, and availability [1].

Impact analysis

An adversary may place such files on a server to gain remote code execution if an app stores filenames supplied by the client inside a PHP-executing web folder [1]. The CVSS 3.1 vector highlights the high impact on the confidentiality, integrity, and availability of the system [1].

Affected products and versions

Affected VersionFixed Version
CodeIgniter4 < 4.7.54.7.5

Exploitation and threat intelligence status

CVE-2026-142155 is not listed in the CISA KEV catalog as of December 2, 2026. The reviewed sources do not provide any evidence of exploitation [2].

Detection and exposure assessment

To assess whether an organization is at risk, check if they are running CodeIgniter4 versions below 4.7.5 [1].

Remediation

The vulnerability is resolved in CodeIgniter4 version 4.7.5 [1].

Remediation checklist

  1. Upgrade CodeIgniter4 to version 4.7.5 [1].
  2. Review and enhance custom upload validation logic to prevent filename manipulation.
  3. Monitor web server logs for suspicious file uploads or execution attempts.
  4. Limit web directory permissions to prevent execution of uploaded files.

Evidence gaps

  • The sources do not detail the technical mechanism of the upload validation bypass.
  • The sources do not provide any indicators of compromise.
  • The sources do not offer a mitigation strategy for the vulnerability.
  • The sources do not describe the exact configuration that enables the exploit.
  • The sources do not mention any detection methods beyond version checks.

References

  1. CVE-2026-142155 record. NIST National Vulnerability Database (NVD), 2026-12-02. https://nvd.nist.gov/vuln/detail/CVE-2026-142155. Accessed 2026-12-02. CVE record, CVSS scores, affected versions, vulnerability description, impact analysis, remediation
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-02. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-02. Exploitation and threat intelligence status

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.3 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
no
Impact
high on confidentiality, integrity and availability
Impact on other systems
none

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 9.8 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Affected and fixed versions

ProductAffected versionsFixed in
CodeIgniter4< 4.7.54.7.5

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • CodeIgniter4

Frequently asked questions

What is CVE-2026-142155?

CVE-2026-142155 impacts CodeIgniter4 versions prior to 4.7.5, allowing attackers to bypass upload validation and execute arbitrary code. The CVSS 3.1 score is 9.8 CRITICAL, assigned by disclosure@vulncheck.com. The reviewed sources do not mention any confirmed exploitation. The main recommendation is to upgrade to the fixed version 4.7.5. Weakness type: Unrestricted Upload of File with Dangerous Type (CWE-434).

How severe is CVE-2026-142155?

CVE-2026-142155 has a CVSS 4.0 base score of 9.3 (critical), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-142155 being exploited?

Not as far as is known: CVE-2026-142155 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.

Which versions are affected by CVE-2026-142155?

CodeIgniter4 < 4.7.5 (fixed in 4.7.5).

How do I fix CVE-2026-142155?

Upgrade CodeIgniter4 to version 4.7.5. Review and enhance custom upload validation logic to prevent filename manipulation. Monitor web server logs for suspicious file uploads or execution attempts.

Timeline & sources

References

Related vulnerabilities & news