What’s Vulnerable › Vulnerabilities

CVE-2026-6276: stale custom cookie host causes cookie leak

Description

Using libcurl, when a custom `Host:` header is first set for an HTTP request and a second request is subsequently done using the same *easy handle* but without the custom `Host:` header set, the second request would use stale information and pass on cookies meant for the first host in the second request. Leak them.

Affected products

How to fix

Upgrade to a fixed version: curl 8.20.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-6276 or the next vulnerability affects your stack