Intel

AIKIDO-2026-231561

guzzlehttp/guzzle is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized ActorGHSA-h95v-h523-3mw8 Published Yesterday

59

Medium Risk

This Affects:

PHPguzzlehttp/guzzle
0.0.1 - 7.15.0
Fixed in 7.15.1
Are you affected? Scan for Free

TL;DR

When allow_redirects.referer is enabled, RedirectMiddleware can copy the URI fragment from the referring request into the generated Referer header on same-scheme redirects. Fragments are client-local and never sent on the original request target, so values such as tokens or secrets in #... can be disclosed to the redirect destination. The fix strips the fragment (in addition to userinfo) before building the redirect Referer value.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application enables allow_redirects.referer while following same-scheme redirects for URIs that may contain sensitive fragments.

Background info

guzzlehttp/guzzle is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 0.0.1 - 7.15.0.

How to fix this

Upgrade the guzzlehttp/guzzle library to the patch version.