CVE-2026-67354 PUBLISHED

guzzlehttp/guzzle before 7.15.1 URI Fragment Disclosure via Referer

Assigner: VulnCheck
Reserved: 29.07.2026 Published: 01.08.2026 Updated: 01.08.2026

guzzlehttp/guzzle versions before 7.15.1 contain an information disclosure vulnerability in RedirectMiddleware. When the optional allow_redirects.referer setting is enabled, the middleware copies the URI fragment (the portion after '#') from the referring request into the generated Referer header when following a same-scheme redirect (e.g., HTTPS to HTTPS). An attacker who controls the redirect destination can read this fragment from the incoming Referer header, potentially disclosing one-time login secrets, access tokens, state values, or other sensitive client data to a server never meant to receive it. The referer setting is disabled by default. Fixed in 7.15.1, which strips the fragment before generating the Referer value.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor guzzle
Product guzzle
Versions Default: unaffected
  • affected from 0 to 7.15.1 (excl.)
  • Version 7.15.1 is unaffected

Credits

  • GrahamCampbell reporter

References

Problem Types

  • Insertion of Sensitive Information Into Sent Data CWE