CVE-2023-46240: CodeIgniter is a PHP full-stack web framework
CVE-2023-46240 is a high-severity flaw (CVSS 7.5) affecting codeigniter. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
CodeIgniter is a PHP full-stack web framework. Prior to CodeIgniter4 version 4.4.3, if an error or exception occurs, a detailed error report is displayed even if in the production environment. As a result, confidential information may be leaked. Version 4.4.3 contains a patch. As a workaround, replace `ini_set('display_errors', '0')` with `ini_set('display_errors', 'Off')` in `app/Config/Boot/production.php`.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-209 |
| Published | 2023-10-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-46240?
codeigniter: upgrade to 4.4.3. Exact commands for each OS are on this page.
Is CVE-2023-46240 being exploited?
CVE-2023-46240 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-46240 affect?
CVE-2023-46240 affects codeigniter. Severity is high (CVSS 7.5). CodeIgniter is a PHP full-stack web framework. Prior to CodeIgniter4 version 4.4.3, if an error or exception occurs, a detailed error report is displayed even if in the production environment. As a result, confidential information may be le
How urgent is CVE-2023-46240?
Priority 45/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-54418 CRITICAL 9.8 UPGRADE CodeIgniter is a PHP full-stack web framework
- CVE-2024-41344 HIGH 7.5 DOWNGRADE A Cross-Site Request Forgery (CSRF) in Codeigniter 3.1.13 allows attackers to arbitrarily change the Administr
- CVE-2024-29904 HIGH 7.5 UPGRADE CodeIgniter is a PHP full-stack web framework A vulnerability was found in the Language class that allowed DoS
- CVE-2023-32692 CRITICAL 9.8 UPGRADE CodeIgniter is a PHP full-stack web framework
- CVE-2022-46170 HIGH 8.6 UPGRADE CodeIgniter is a PHP full-stack web framework