CURL-CVE-2026-11856: cross-origin Digest auth state leak

Published Jul 3, 2026
·
Updated

Successfully using libcurl to do a transfer to a specific HTTP origin (hostA) with Digest authentication and then changing the origin to a different one (hostB) for a second transfer, reusing the same handle, makes libcurl wrongly pass on the Authorization: header field meant for hostA, to hostB.

Affected Software

1 affected component
curl libcurl

Event History

Jul 3, 2026
CVE Published
via OSV·06:13 AM
Data Sourced
via OSV·06:13 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using libcurl are exposed when they successfully authenticate to one HTTP origin with Digest authentication, then change to a different origin and perform another transfer with the same handle. The issue concerns reuse of a handle across distinct origins.

2

What does an attacker need to exploit it?

An attacker needs to receive the second transfer at a different HTTP origin after the reused handle has previously completed a Digest-authenticated transfer to another origin. No attacker authentication or user interaction is indicated by the provided severity vector.

3

What information can be disclosed?

The Authorization header intended for the first origin can be sent to the second origin. This can expose Digest authentication state associated with the first origin to the second origin.

4

What can be done if patching is not immediately possible?

Do not reuse a libcurl handle for transfers to different HTTP origins after it has been used with Digest authentication. Use a separate handle for each origin or avoid changing the origin on a handle that has performed Digest authentication.

5

How can I determine whether my application is affected?

Review code paths that reuse libcurl handles and change the HTTP origin between transfers. Affected behavior requires a successful Digest-authenticated transfer to one origin followed by a transfer to a different origin using that same handle.

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