guzzlehttp/guzzle versions before 7.15.1 contain an information disclosure vulnerability in RedirectMiddleware. (CVE-2026-67354)
guzzlehttp/guzzle versions before 7.15.1 have an information disclosure vulnerability in the RedirectMiddleware component. When the allow_redirects.referer setting is enabled, the middleware copies the URI fragment from the referring request into the Referer header during same-scheme redirects. This can expose sensitive client data such as one-time login secrets or access tokens to unintended servers. The referer setting is disabled by default. The issue is fixed in version 7.15.1 by stripping the fragment before generating the Referer header.
AI Analysis
Technical Summary
The vulnerability in guzzlehttp/guzzle prior to 7.15.1 involves the RedirectMiddleware copying the URI fragment (portion after '#') from the referring request into the Referer header when following same-scheme redirects if the allow_redirects.referer option is enabled. An attacker controlling the redirect destination can read this fragment from the Referer header, potentially disclosing sensitive client data like one-time login secrets, access tokens, or state values. By default, the referer setting is disabled, reducing exposure. The vulnerability is addressed in version 7.15.1 by removing the URI fragment before setting the Referer header.
Potential Impact
An attacker who controls the redirect destination can obtain sensitive client information included in the URI fragment of the referring request, such as one-time login secrets or access tokens, due to the fragment being copied into the Referer header. This leads to information disclosure without affecting integrity or availability. The vulnerability requires the allow_redirects.referer setting to be enabled, which is disabled by default.
Mitigation Recommendations
Upgrade guzzlehttp/guzzle to version 7.15.1 or later, where the vulnerability is fixed by stripping the URI fragment before generating the Referer header. If upgrading is not immediately possible, ensure the allow_redirects.referer setting remains disabled to avoid exposure. Patch status is confirmed fixed in 7.15.1.
guzzlehttp/guzzle versions before 7.15.1 contain an information disclosure vulnerability in RedirectMiddleware. (CVE-2026-67354)
Description
guzzlehttp/guzzle versions before 7.15.1 have an information disclosure vulnerability in the RedirectMiddleware component. When the allow_redirects.referer setting is enabled, the middleware copies the URI fragment from the referring request into the Referer header during same-scheme redirects. This can expose sensitive client data such as one-time login secrets or access tokens to unintended servers. The referer setting is disabled by default. The issue is fixed in version 7.15.1 by stripping the fragment before generating the Referer header.
CVSS v3.1
Score 5.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in guzzlehttp/guzzle prior to 7.15.1 involves the RedirectMiddleware copying the URI fragment (portion after '#') from the referring request into the Referer header when following same-scheme redirects if the allow_redirects.referer option is enabled. An attacker controlling the redirect destination can read this fragment from the Referer header, potentially disclosing sensitive client data like one-time login secrets, access tokens, or state values. By default, the referer setting is disabled, reducing exposure. The vulnerability is addressed in version 7.15.1 by removing the URI fragment before setting the Referer header.
Potential Impact
An attacker who controls the redirect destination can obtain sensitive client information included in the URI fragment of the referring request, such as one-time login secrets or access tokens, due to the fragment being copied into the Referer header. This leads to information disclosure without affecting integrity or availability. The vulnerability requires the allow_redirects.referer setting to be enabled, which is disabled by default.
Mitigation Recommendations
Upgrade guzzlehttp/guzzle to version 7.15.1 or later, where the vulnerability is fixed by stripping the URI fragment before generating the Referer header. If upgrading is not immediately possible, ensure the allow_redirects.referer setting remains disabled to avoid exposure. Patch status is confirmed fixed in 7.15.1.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mqq9-gxg5-m58g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-67354"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6e6290bf32cb7a344f5dfe
Added to database: 08/01/2026, 21:18:08 UTC
Last enriched: 08/01/2026, 21:19:24 UTC
Last updated: 08/01/2026, 22:37:58 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.