CVE-2026-142150
HighCVSS 8.1Exploitation Probability (EPSS)
Low risk48th percentile - higher than 48% of all known CVEs
Summary
CodeIgniter4 before 4.7.6 contains an SQL injection vulnerability in Query::matchNamedBinds(), which substitutes named :name: bind placeholders across the entire SQL text, including values already escaped into string literals. Remote attackers who can inject a :name: placeholder into a subquery, union, escaped where()/having() string, deleteBatch() condition, or $db->query() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.
Risk Assessment
An attacker could execute arbitrary SQL, potentially leading to data disclosure, modification, or deletion. This may compromise the confidentiality and integrity of the database.
Recommendation
Update CodeIgniter4 to version 4.7.6 or later and review the application for places where untrusted data reaches queries with named binds.
Other vulnerabilities in CodeIgniter4
See all- CVE-2026-145677Medium
CodeIgniter4 4.0.0 through 4.7.6 contains a cross-site scripting vulnerability in anchor(), anchor_popup() and mailto() in system/Helpers/url_helper.php, which do not escape URL or e-mail values. Attackers can supply URLs or e-mail addresses containing quotes to break out of href attributes or the onclick window.open() string, executing script in users' browsers.
- CVE-2026-142155Critical
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.
- CVE-2026-142154High
CodeIgniter4 before 4.7.5 contains a code injection vulnerability that allows less-trusted template editors to execute PHP code through unrestricted View Parser conditional tags. Attackers who can edit template source, such as email templates, can inject crafted conditionals to execute arbitrary PHP code on the server.
- CVE-2026-142153High
CodeIgniter4 before 4.7.5 contains a code injection vulnerability because view data is extracted into the same scope as internal variables, letting colliding keys replace the trusted template source or an included view path. Attackers who control view data keys can supply template, view, or foundView keys to Parser::render(), Parser::renderString(), View::renderString(), or view cells to execute PHP code or include unintended local files.
- CVE-2026-142152Medium
CodeIgniter4 before 4.7.5 contains a file upload validation bypass in FileRules that allows evading type, extension, size, and dimension checks. Placing an empty UPLOAD_ERR_NO_FILE entry before a disallowed file in an optional multiple-file upload causes it to be accepted.
- CVE-2026-142151Medium
CodeIgniter4 before 4.7.5 contains an information disclosure vulnerability in CURLRequest::request() that leaves request options on the client after an exception, even when shareOptions is false. Attackers receiving a later request from a reused client can obtain the previous Authorization header, Basic Auth credentials, or request body.
- CVE-2026-142138Medium
CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parse_form_attributes() and related form helpers that escape only the value key. Attackers who influence values passed to form_input(), form_label(), form_dropdown() or form_datalist() can inject a double quote and event handlers to execute script in victims' browsers.
- CVE-2026-130845Medium
CodeIgniter4 before 4.7.5 contains a cross-site scripting vulnerability in the View Parser (system/View/Parser.php) that allows bypassing auto-escaping through re-scanned substitutions. An attacker controlling one rendered value can inject Parser syntax like {other|raw} or {!other!} to emit unescaped values and execute scripts in viewers' browsers.
- CVE-2025-45406Medium
A stored cross-site scripting (XSS) vulnerability in CodeIgniter4 v4.6.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the debugbar_time parameter. The supplier disputes this, stating attackers cannot influence debugbar_time and debugbar-related data is automatically escaped by the CodeIgniter Parser class.
Original NVD description (English source)
CodeIgniter4 before 4.7.6 contains an SQL injection vulnerability in Query::matchNamedBinds(), which substitutes named :name: bind placeholders across the entire SQL text, including values already escaped into string literals. Remote attackers who can inject a :name: placeholder into a subquery, union, escaped where()/having() string, deleteBatch() condition, or $db->query() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

