CVE-2026-63221: Vulnerability in codeigniter4/framework

Critical. CodeIgniter is a PHP full-stack web framework. From 4.3.0 through 4.7.3, Query Builder deleteBatch() substitutes bound values from where() conditions into generated SQL while ignoring their escape flags, allowing user-controlled condition values to be interpreted as SQL. This affects only the deleteBatch() code path. Regular delete() operations escape where() binds correctly. This issue is fixed in version 4.7.4.

Packagist, CWE-89

Exploitation
None confirmed
Severity
9.4 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c9w5-rwh3-7pm9
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
Weakness
CWE-89
Published
31 Jul 2026
Last change
8 Sept 2026
Ecosystem
Packagist

Affected packages

Vulnerable version ranges and fixed releases

  • codeigniter4/framework Packagist, Affected from 4.3.0 before 4.7.4. Fixed in 4.7.4

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes