Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOperate less-trusted destination endpoint
-
DeliveryApp's first CURLRequest returns HTTP 400+
-
ExploitHTTPException leaves options on reused client
-
ExecutionApp catches error and reuses same client
-
ImpactCapture leaked Authorization header or body
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception cleanup procedures
|
| Exploitation Conditions | Disclosure requires all of the following application-side conditions, per the GHSA advisory: the app uses CodeIgniter4 CURLRequest (service('curlrequest') returns a shared instance); a request throws \CodeIgniter\HTTP\Exceptions\HTTPException - which, under the DEFAULT http_errors setting, is triggered by any HTTP response status 400 or higher; the application CATCHES that exception and REUSES the same client instance; and the subsequent request goes to a different, less-trusted destination. Critically, setting shareOptions to false does NOT prevent this because the leak occurs via the exception path. Limiting factors: exploitation is entirely dependent on this reuse-after-failure coding pattern and on an attacker being able to operate or receive the later request's destination - it is not exploitable against a default install without this specific client-reuse behavior, which is why CVSS carries AC:H and AT:P. |
| Impact | This is a credential/information-disclosure flaw (CWE-460, cleanup-on-thrown-exception) rated CVSS 4.0 8.2 (High) by the input, with vector AV:N/AC:H/AT:P/PR:N/UI:N and VC:H only (VI:N/VA:N) - so impact is confidentiality-only, and the elevated score is driven by network reachability and high confidentiality impact rather than by ease of exploitation. The AC:H and AT:P metrics correctly signal that exploitation is NOT turnkey: it depends on a specific application coding pattern (catching the HTTPException and reusing the same CURLRequest client for a later request to a less-trusted destination). No CISA KEV listing and no EPSS value were provided, and the references are vendor/coordinator advisories (GHSA, VulnCheck) rather than working exploit code, so there is no public exploit identified at time of analysis. The vuln.today priority is 'this_week' (not act_now/emergency), which is consistent with a real-but-conditional issue rather than mass-exploitable RCE. Net: a genuine credential-leakage risk for applications that reuse HTTP clients across trust boundaries, but materially gated by application behavior, so it is a 'patch-this-week' priority rather than a drop-everything emergency. Note the PR:N applies to the external party that receives the leaked request - no authentication is needed by that receiving destination to collect the disclosed credentials. |
| Exploit ScenarioDerived | A CodeIgniter4 application uses a reused CURLRequest client to POST to a trusted internal API with an Authorization/Bearer header; that request returns HTTP 400+, which (under the default http_errors setting) throws an HTTPException that leaves the auth header and body set on the client even though shareOptions is false. The application catches the exception and reuses the same client to call a different, less-trusted endpoint, which now receives the previously-set Authorization header, Basic Auth credentials, or request body. No public exploit code is identified; the attack requires the attacker to operate or receive traffic at that later destination. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Information disclosure in the CodeIgniter4 CURLRequest component before 4.7.5 can leak a previously used Authorization header, Basic Auth credentials, or request body to a different, less-trusted destination. The leak only occurs when an application catches the HTTPException thrown by CURLRequest::request() - under the framework's default http_errors setting any HTTP response of 400 or higher triggers it - and then reuses the same client instance for a later request, even with shareOptions set to false. Impact is confidentiality-only (VC:H, VI:N, VA:N) and reachable over the network without authentication (PR:N), but exploitation depends entirely on that catch-and-reuse coding pattern and on an attacker controlling or receiving the subsequent destination, which is why the assessed vector carries AC:H and AT:P; no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade composer/codeigniter4/framework to 4.7.5 or later; this is the only complete fix and should be scheduled as a near-term (this week) item for applications that reuse CURLRequest clients after failures. Where upgrading cannot be done immediately, the advisory's workaround is to use separate clients for destinations with different trust levels and, if a client is reused after a failed request, replace it with a fresh nonshared instance before sending another request - for example, catch \CodeIgniter\HTTP\Exceptions\HTTPException and re-create the client via single_service('curlrequest', $defaults) rather than reusing the failed object. Note that service('curlrequest') returns a shared, cached instance, so unsetting or reassigning a local variable does not evict it from the service cache and does not by itself remove the leaked options; the replacement must be a newly instantiated nonshared client. Setting shareOptions to false alone does not mitigate the exception path in affected versions and should not be relied on. Upstream documentation for the library is at https://codeigniter.com/user_guide/libraries/curlrequest.html and the fix advisory is at https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-9g9v-xgwj-697h.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-460 (Improper Cleanup on Thrown Exception) bug in CodeIgniter4's CURLRequest library, which wraps PHP's cURL extension and lets developers pass per-request options such as headers, Basic Auth credentials, and a request body. When CURLRequest::request() raises a \CodeIgniter\HTTP\Exceptions\HTTPException, the options already applied to the client are not reset, so the cURL handle retains the prior Authorization header, Basic Auth credentials, body, and other options. The shareOptions flag is intended to control whether options carry over between requests, but in affected versions setting it to false does not cover the exception path, so the residual state survives the failure. Under the framework's default http_errors setting, any response with status 400 or higher is sufficient to enter this exception path, making ordinary failed calls (a rejected token, a 500 from a peer) the trigger rather than an exotic condition. Because service('curlrequest') returns an instance held in the service cache, the same client can be handed back to unrelated code paths, increasing the chance that a later request is dispatched to a different destination carrying stale credentials. The trigger conditions and the requirement that the application reuse the failed client are confirmed by the upstream GHSA advisory; exploitation is not possible against a default installation that does not exhibit this reuse-after-failure pattern.
Know when Codeigniter4 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable leak but AC:H because it needs the catch-and-reuse-across-trust-boundary pattern; PR:N as the receiving party needs no auth; confidentiality-only (C:H, I/A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-460, Improper Cleanup on Thrown Exception, in CodeIgniter\HTTP\CURLRequest::request() (package codeigniter4/framework, per the advisory).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity information disclosure flaw in CodeIgniter4's CURLRequest component (versions before 4.7.5) can leak sensitive credentials-such as Authorization headers, Basic Auth credentials, or request bodies-to unintended, less-trusted destinations when applications reuse the same client instance after catching an HTTP exception. This puts organizations using affected CodeIgniter4 applications at risk of credential theft, potentially leading to unauthorized access to downstream systems and data breaches. Leadership should prioritize remediation because the vulnerability directly threatens the confidentiality of authentication secrets and could undermine trust in internal and external integrations.
Vendor-released patch: 4.7.5
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Codeigniter4
View allUnauthenticated file upload validation bypass in the CodeIgniter4 PHP framework (versions prior to 4.7.4) lets a remote
SQL injection in CodeIgniter4's Query Builder deleteBatch() method (versions 4.3.0 through 4.7.3) allows user-controlled
Path traversal file write in the CodeIgniter4 PHP framework prior to 4.7.4 lets remote unauthenticated attackers place u
Remote code execution in CodeIgniter4 before 4.7.5 stems from filename-based upload validation rules that can be tricked
SQL injection in CodeIgniter4 through 4.7.5 lets unauthenticated remote attackers break out of an already-escaped string
HTTP security header spoofing in CodeIgniter4 prior to 4.7.4 allows remote unauthenticated attackers to trick the framew
PHP code injection in the CodeIgniter4 View Parser (versions before 4.7.5) lets users who can edit template source - for
PHP code execution and unintended local file inclusion in CodeIgniter4 before 4.7.5 occur when view data is extracted in
File upload validation bypass in CodeIgniter4 releases before 4.7.5 lets unauthenticated remote attackers slip a disallo
Cross-site scripting in CodeIgniter4 before 4.7.5 allows an attacker who controls a single value rendered through the Vi
Cross-site scripting in the CodeIgniter4 form helpers - parse_form_attributes(), form_input(), form_label(), form_dropdo
EUVD-2026-141467
GHSA-c832-7fm9-qp8j
NVD
CVE.org
Vulnrichment
Exploit-DB