{"id":"CVE-2026-142150","aliases":["EUVD-2026-141468","GHSA-25rf-99hr-7pmr","GHSA-ccrg-2qgf-h2fh"],"status":"published","title":"CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder","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-\u003equery() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.","severity":{"version":"4.0","score":9.2,"vector":"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","level":"critical","assessor":"cna","from":"cve","others":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":9.2,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00561,"percentile":0.48095,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-89"],"published":"2026-12-02T14:37:50Z","modified":"2026-12-05T03:45:37Z","products":[{"vendor":"codeigniter4","product":"codeigniter4"}],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-25rf-99hr-7pmr","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://www.vulncheck.com/advisories/codeigniter4-before-4.7.6-sql-injection-via-named-bind-placeholders-in-query-builder","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142150","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-ccrg-2qgf-h2fh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142150.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-142150","title":"CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder","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-\u003equery() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.","status":"published","published":"2026-12-02T14:37:50.113Z","modified":"2026-12-05T02:48:02.814Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical","assessor":"cna"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-89"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","date":"2026-12-05"},"updated_at":"2026-12-05T02:50:28.47857Z"}],"euvd":[{"id":"EUVD-2026-141468","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-\u003equery() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.","status":"published","published":"2026-12-02T14:37:50Z","modified":"2026-12-05T02:48:02Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"updated_at":"2026-12-02T18:26:17.146812Z"}],"ghsa":[{"id":"GHSA-ccrg-2qgf-h2fh","title":"CodeIgniter4 before 4.7.6 contains an SQL injection vulnerability in Query::matchNamedBinds(),...","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-\u003equery() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.","status":"published","published":"2026-12-02T15:32:20Z","modified":"2026-12-02T15:32:28Z","cvss":[{"version":"4.0","score":9.2,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-12-02T15:37:41.620227Z"}],"nvd":[{"id":"CVE-2026-142150","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-\u003equery() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.","status":"published","published":"2026-12-02T15:17:25.76Z","modified":"2026-12-05T03:19:48.747Z","cvss":[{"version":"4.0","score":9.2,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-89"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","date":"2026-12-05"},"updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-142150","title":"CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder","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-\u003equery() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.","status":"published","published":"2026-12-02T14:37:50.113Z","modified":"2026-12-05T03:45:37.347171318Z","cvss":[{"version":"4.0","score":9.2,"vector":"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","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-12-02T16:19:31.134606Z"}]}}
