{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.7.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "37bf5856b8bbfa05cfd7feb9d9a5c6cf0ba20ff7"
            }
          ],
          "repo": "https://github.com/codeigniter4/codeigniter4",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-25rf-99hr-7pmr"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142150.json"
  },
  "details": "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.",
  "id": "CVE-2026-142150",
  "modified": "2026-12-02T15:46:17.066860255Z",
  "published": "2026-12-02T14:37:50.113Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142150.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-25rf-99hr-7pmr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142150"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/codeigniter4-before-4.7.6-sql-injection-via-named-bind-placeholders-in-query-builder"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CodeIgniter4 before 4.7.6 SQL Injection via Named Bind Placeholders in Query Builder"
}