---
id: CVE-2026-67354
title: >-
  guzzlehttp/guzzle versions before 7.15.1 contain an information disclosure
  vulnerability in RedirectMiddleware
summary: >-
  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
  '#') …
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-201
published: '2026-08-01'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:35:01.260'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-67354'
references:
  - url: 'https://github.com/guzzle/guzzle/security/advisories/GHSA-h95v-h523-3mw8'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/guzzlehttp-guzzle-before-uri-fragment-disclosure-via-referer
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00372
epssPercentile: 0.28464
ingestedAt: '2026-08-02T09:18:11.794Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
