{"id":"CVE-2026-63221","title":"CodeIgniter is a PHP full-stack web framework","summary":"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 conditio…","severity":"critical","cvss":9.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","cwe":["CWE-89"],"vendor":"codeigniter4","product":"codeigniter4/framework","affected":["codeigniter4/framework >= 4.3.0, < 4.7.4"],"patched":["codeigniter4/framework 4.7.4"],"published":"2026-07-31","updated":"2026-09-08","sourceUpdated":"2026-09-08T20:51:43.490","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-63221","references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/f5e463b9a3e986389ce285963e51a7f1fab6559f","label":"security-advisories@github.com"},{"url":"https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4","label":"security-advisories@github.com"},{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-c9w5-rwh3-7pm9","label":"security-advisories@github.com"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63221"},{"url":"https://github.com/advisories/GHSA-c9w5-rwh3-7pm9"}],"tags":["nvd","ghsa","composer"],"epss":0.00372,"epssPercentile":0.31134,"aliases":["GHSA-c9w5-rwh3-7pm9"],"ecosystem":"composer","ingestedAt":"2026-08-07T19:16:20.430Z","slug":"CVE-2026-63221","body":"## Overview\n\nCodeIgniter 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-63221)\n\nAffected packages:\n\n- `codeigniter4/framework >= 4.3.0, < 4.7.4`\n\nPatched in:\n\n- `codeigniter4/framework 4.7.4`\n\nSource: https://github.com/advisories/GHSA-c9w5-rwh3-7pm9","depth":"midnight","depthScore":52,"depthScoreParts":{"impact":51.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}