# CVE-2023-46240: CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 57% of CVEs (2026-11-30)
- Published: 2023-10-30T15:18:56.000Z
- Modified: 2026-06-17T06:30:29.800Z
- Also known as: GHSA-hwxf-qxj7-7rfj, BIT-CODEIGNITER-2023-46240
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- codeigniter4 CodeIgniter4: < 4.4.3
- codeigniter4/framework (Packagist): before 4.4.3
- codeigniter codeigniter: before 4.4.3
- codeigniter (Bitnami): before 4.4.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj> (vendor-advisory, web)
- <https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563> (patch, web)
- <https://codeigniter4.github.io/userguide/general/errors.html#error-reporting> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46240> (advisory)
- <https://github.com/codeigniter4/CodeIgniter4> (package)

## Sources

- CVE List: [CVE-2023-46240](https://www.cve.org/CVERecord?id=CVE-2023-46240), CVE Terms of Use, modified 2024-09-05
- GitHub Advisory Database: [GHSA-hwxf-qxj7-7rfj](https://github.com/advisories/GHSA-hwxf-qxj7-7rfj), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-46240](https://nvd.nist.gov/vuln/detail/CVE-2023-46240), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CODEIGNITER-2023-46240](https://osv.dev/vulnerability/BIT-CODEIGNITER-2023-46240), Apache-2.0, modified 2024-03-06

---

Page: https://cve.day/CVE-2023-46240 · Whole record: https://cve.day/CVE-2023-46240.json · Rebuilt by cve.day 2026-11-25T22:58:29.866Z
