CVE-2026-142150
8.1HighPublished Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-89
What an attacker gets
Remote attackers can execute arbitrary SQL commands to read or modify database contents. This requires the attacker to control input that is passed to specific Query Builder methods containing named bind placeholders.
Root cause
The Query::matchNamedBinds() method incorrectly replaces named bind placeholders even when they are already escaped inside string literals.
Affected versions
CodeIgniter4 before 4.7.6
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to CodeIgniter 4.7.6 or later. If you cannot upgrade, avoid using named bind placeholders in user-controlled input passed to where(), having(), or raw query methods.
$ composer update codeigniter4/frameworkAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1421537.5HighAuthenticated attackers can execute arbitrary PHP code or include local files by manipulating view data keys. This occurs when an attacker controls input passed to the Parser or View rendering methods.
- CVE-2026-1421548.8HighAuthenticated attackers can execute arbitrary PHP code on the server. This requires the attacker to have permission to edit template source files.
- CVE-2026-1421559.8CriticalUnauthenticated attackers can achieve remote code execution by uploading malicious PHP files. This occurs when the application stores user-uploaded files in a directory that executes PHP scripts.
- CVE-2026-1444678.1HighAuthenticated attackers can view, modify, or delete other users' bank account details. This is possible because the application fails to verify ownership of the bank account ID provided in the request.
- CVE-2026-811437.1HighLocal attackers with low privileges can execute arbitrary code on the appliance. This requires local access to the system.
- CVE-2026-811397.1HighLocal attackers can read or write arbitrary files on the system. This requires local access to the virtual appliance.