CVE-2026-142150: CodeIgniter4 SQL Injection

CVE-2026-142150

NVD

Vulnerability 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.
Severity Level
CRITICAL(9.2)
Published Date
Dec 2, 2026
Last Modified
Dec 2, 2026
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
Improper neutralization of special elements used in an SQL command, allowing attackers to modify queries.
CVSS v4.0 Base Metrics — Score 9.2 (CRITICAL)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.1)
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • CodeIgniter4 < 4.7.6
Patched Versions
  • CodeIgniter4 4.7.6

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run CodeIgniter4 and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Dec 2, 2026Published
  • Dec 2, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new CodeIgniter4 CVEsYou are reading CVE-2026-142150. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 2, 2026 15:43 UTC