---
id: GHSA-mqq9-gxg5-m58g
title: >-
  Duplicate Advisory: Guzzle: URI fragments disclosed in redirect Referer
  headers
summary: >-
  Duplicate Advisory: Guzzle: URI fragments disclosed in redirect Referer
  headers
severity: high
cvss: 5.9
cwe:
  - CWE-201
vendor: guzzlehttp
product: guzzlehttp/guzzle
ecosystem: composer
affected:
  - guzzlehttp/guzzle < 7.15.1
published: '2026-08-01'
updated: '2026-08-04'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-mqq9-gxg5-m58g'
references:
  - url: 'https://github.com/guzzle/guzzle/security/advisories/GHSA-h95v-h523-3mw8'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-67354'
  - url: >-
      https://www.vulncheck.com/advisories/guzzlehttp-guzzle-before-uri-fragment-disclosure-via-referer
  - url: 'https://github.com/advisories/GHSA-mqq9-gxg5-m58g'
tags:
  - ghsa
  - composer
ingestedAt: '2026-08-05T05:58:04.822Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-h95v-h523-3mw8. This link is maintained to preserve external references.

## Original Description

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.

## Affected packages

- `guzzlehttp/guzzle < 7.15.1`

## Remediation

Refer to the advisory for the patched release.
