HTTP Header Persistence Vulnerability in libcurl by Curl
CVE-2026-9546

7.5HIGH

Key Information:

Vendor

Curl

Status
Vendor
CVE Published:
3 July 2026

What is CVE-2026-9546?

A flaw within libcurl allows the HTTP 'Referer:' header to persist improperly even after being explicitly cleared. Although the documentation claims that setting 'CURLOPT_REFERER' to NULL should suppress the header, it fails to reset the internal state managing the header. This oversight results in the unintentional reuse of previous referrer strings, which can lead to sensitive information being unintentionally exposed to other servers during subsequent requests. Developers utilizing libcurl should be wary of this issue, as it can significantly impact user privacy and data security.

Affected Version(s)

curl 8.18.0 < 8.20.1

curl 2cb868242dc2ac9cd52ee64987ef51d5964a56f9 < 862e8a74a84478d82973471b4f49dc2746c1780e

curl 8.20.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

renjian on hackerone
Daniel Stenberg
.