Improper Removal of Sensitive Information Before Storage or Transfer Affecting guzzlehttp/guzzle package, versions <7.15.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-GUZZLEHTTPGUZZLE-18306774
  • published25 Jul 2026
  • disclosed20 Jul 2026
  • creditUnknown

Introduced: 20 Jul 2026

CVE-2026-67354  (opens in a new tab)
CWE-201  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade guzzlehttp/guzzle to version 7.15.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer via the RedirectMiddleware process. An attacker can access sensitive information included in URI fragments by controlling the redirect destination and inspecting the Referer header sent during a same-scheme redirect. This is only exploitable if the allow_redirects.referer option is enabled, a request is made to a URI containing a sensitive fragment, and a same-scheme redirect is followed to a less-trusted destination.

Workaround

This vulnerability can be mitigated by disabling automatic Referer generation (it is off by default), explicitly setting the referer option to false in redirect options, disabling automatic redirects and following trusted destinations manually, or removing the fragment from the request URI before sending requests that may redirect.

CVSS Base Scores

version 4.0
version 3.1