CVE-2026-9546 PUBLISHED

sending old referer

Assigner: curl
Reserved: 26.05.2026 Published: 03.07.2026 Updated: 03.07.2026

A vulnerability in libcurl caused the HTTP Referer: header to persist even when explicitly cleared. While the documentation states that passing NULL to CURLOPT_REFERER suppresses the header, the option failed to clear the internal state. As a result the previous referrer string was erroneously reused and sent in subsequent requests, potentially leaking sensitive information to unintended servers.

Product Status

Vendor curl
Product curl
Versions Default: unaffected
  • affected from 8.20.0 to 8.20.0 (incl.)
  • affected from 8.19.0 to 8.19.0 (incl.)
  • affected from 8.18.0 to 8.18.0 (incl.)

Credits

  • renjian on hackerone finder
  • Daniel Stenberg remediation developer

References

Problem Types

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor