A flaw was found in libcurl. This vulnerability allows for information disclosure when a custom `Host:` header is used in an initial HTTP request, and a subsequent request reuses the same connection without specifying a new `Host:` header. In such a scenario, libcurl may incorrectly send cookies intended for the first host to the second host, leading to a cookie leak. This issue is an Origin Validation Error (CWE-346).