CVE-2022-40832
CodeIgniter vulnerability analysis and mitigation

Overview

CVE-2022-40832 is a disputed SQL Injection vulnerability affecting CodeIgniter versions 3.1.13 and earlier. The vulnerability was discovered in the having() function within the system\database\DB_query_builder.php file. This issue was publicly disclosed on October 7, 2022. However, it's important to note that multiple third parties have disputed this as not being a valid vulnerability (NVD, CVE).

Technical details

The vulnerability was identified in the having() function of the DB_query_builder.php component. According to the National Vulnerability Database, this issue received a CVSS v3.1 score of 9.8 (CRITICAL), indicating potentially severe impact if exploited (NVD).

Impact

If successfully exploited, the vulnerability could potentially allow attackers to perform SQL injection attacks against affected CodeIgniter installations. However, given the disputed nature of this vulnerability, the actual impact may be limited or non-existent (CVE).

Exploitability

The exploitability of this vulnerability is contested. Multiple third parties have disputed its validity as a security issue, which suggests that the reported SQL injection vulnerability may not be practically exploitable under normal circumstances (NVD).

Community reactions

The security community has shown skepticism regarding this vulnerability, with multiple third parties disputing its validity. This has led to the CVE being marked as DISPUTED in official vulnerability databases (CVE).

Additional resources


SourceThis report was generated using AI

Related CodeIgniter vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63223CRITICAL9.8
  • PHP logoPHP
  • cpe:2.3:a:codeigniter:codeigniter
NoYesJul 31, 2026
CVE-2026-48062CRITICAL9.8
  • PHP logoPHP
  • cpe:2.3:a:codeigniter:codeigniter
NoYesJul 17, 2026
CVE-2026-63221CRITICAL9.4
  • PHP logoPHP
  • cpe:2.3:a:codeigniter:codeigniter
NoYesJul 31, 2026
CVE-2026-63222HIGH7.5
  • PHP logoPHP
  • codeigniter4/framework
NoYesJul 31, 2026
CVE-2026-63220MEDIUM4.8
  • PHP logoPHP
  • cpe:2.3:a:codeigniter:codeigniter
NoYesJul 31, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management