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

Published Apr 23, 2026
·
Updated

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

Other sources

stale custom cookie host causes cookie leak

— Microsoft

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.

— MITRE

Affected Software

14 affected componentsFixes available
curl libcurl
Microsoft azl3 curl 8.11.1-6
Microsoft azl3 curl 8.11.1-7<8.11.1-7
8.11.1-7
Microsoft azl3 cmake 3.30.3-13<3.30.3-14
3.30.3-14
Microsoft azl3 curl 8.11.1-6<8.11.1-7
8.11.1-7
haxx curl>=7.71.0<8.20.0
debian/curl*
debian/curl<8.14.1-2+deb13u4
8.14.1-2+deb13u4
debian/curl<8.20.0~rc3-1
8.20.0~rc3-1
debian/curl<=7.88.1-10+deb12u15, <=7.88.1-10+deb12u5
8.14.1-2+deb13u48.20.0~rc3-1
ubuntu/curl<7.81.0-1ubuntu1.24
7.81.0-1ubuntu1.24
ubuntu/curl<8.5.0-2ubuntu10.9
8.5.0-2ubuntu10.9
ubuntu/curl<8.14.1-2ubuntu1.3
8.14.1-2ubuntu1.3
ubuntu/curl<8.18.0-1ubuntu2.1
8.18.0-1ubuntu2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.11.1-7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.30.3-14
  3. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.14.1-2+deb13u4
  4. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.20.0~rc3-1
  5. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.14.1-2+deb13u4Fixed in 8.20.0~rc3-1
  6. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.81.0-1ubuntu1.24
  7. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.5.0-2ubuntu10.9
  8. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.14.1-2ubuntu1.3
  9. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.18.0-1ubuntu2.1

Event History

Apr 23, 2026
Data Sourced
via Red Hat·04:48 PM
DescriptionSeverityAffected Software
Apr 29, 2026
CVE Published
via OSV·02:00 PM
Data Sourced
via OSV·02:00 PM
DescriptionSeverityAffected Software
May 13, 2026
CVE Published
via MITRE·08:28 AM
Data Sourced
via MITRE·08:28 AM
DescriptionWeakness
Data Sourced
via NVD·01:01 PM
Description
Data Sourced
via NVD·06:16 PM
Severity
May 14, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
Affected Software
Data Sourced
via NVD·02:21 PM
RemedyWeaknessAffected Software
Updated
via NVD·02:21 PM
Severity
Sep 15, 2026
Updated
via NVD·07:16 AM
Weakness
Nov 13, 2026
Data Sourced
via OSV·02:47 AM
Weakness

Frequently Asked Questions

1

What is the severity of CVE-2026-6276?

CVE-2026-6276 is considered a moderate severity vulnerability due to the risk of cookie leakage.

2

How do I fix CVE-2026-6276?

To fix CVE-2026-6276, ensure that custom Host headers are properly managed and avoid using stale requests without resetting the Host header.

3

What kind of applications are affected by CVE-2026-6276?

CVE-2026-6276 affects applications that use libcurl for HTTP requests with custom Host headers.

4

What is the impact of CVE-2026-6276 on user privacy?

The impact of CVE-2026-6276 on user privacy includes the potential exposure of sensitive cookies to unintended hosts.

5

When was CVE-2026-6276 reported?

CVE-2026-6276 was reported in 2026, highlighting the importance of managing HTTP request headers securely.

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