CVE-2026-142151: CodeIgniter4 before 4.7.5 Credential Disclosure via CURLRequest Option Persistence

Published Dec 2, 2026
·
Updated

CodeIgniter4 before 4.7.5 contains an information disclosure vulnerability in CURLRequest::request() that leaves request options on the client after an exception, even when shareOptions is false. Attackers receiving a later request from a reused client can obtain the previous Authorization header, Basic Auth credentials, or request body.

Affected Software

1 affected component
CodeIgniter CodeIgniter 4<4.7.5

Event History

Dec 2, 2026
CVE Published
via MITRE·02:37 PM
Data Sourced
via MITRE·02:37 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Event
via NVD·03:17 PM

Frequently Asked Questions

1

Which deployments are exposed to credential disclosure?

Deployments using CodeIgniter4 versions before 4.7.5 are affected when a CURLRequest client is reused after an exception. The issue can expose data from a previous request to the recipient of a later request.

2

What must occur for credentials or request data to leak?

A request made through CURLRequest::request() must raise an exception, leaving its options on the client. A later request using that same client can then send the prior Authorization header, Basic Auth credentials, or request body to its recipient.

3

Does disabling shareOptions prevent this issue?

No. The vulnerability occurs even when shareOptions is set to false, because request options can remain on the client after an exception.

4

How can I assess whether sensitive data may have been exposed?

Review applications using reused CURLRequest clients for exception paths followed by later requests. Determine whether the failed request contained an Authorization header, Basic Auth credentials, or sensitive request-body data, and identify the destination of the subsequent request.

5

What version resolves the issue?

Upgrade CodeIgniter4 to version 4.7.5 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203