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).

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-2025-54418CRITICAL9.8
  • PHPPHP
  • cpe:2.3:a:codeigniter:codeigniter
NoYesJul 28, 2025
CVE-2024-41344HIGH7.5
  • CodeIgniterCodeIgniter
  • cpe:2.3:a:codeigniter:codeigniter
NoYesOct 15, 2024
CVE-2024-29904HIGH7.5
  • PHPPHP
  • codeigniter4/framework
NoYesMar 29, 2024
CVE-2025-45406MEDIUM6.1
  • PHPPHP
  • cpe:2.3:a:codeigniter:codeigniter
NoYesJul 25, 2025
CVE-2025-24013MEDIUM5.3
  • PHPPHP
  • cpe:2.3:a:codeigniter:codeigniter
NoYesJan 20, 2025

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