GHSA-mqq9-gxg5-m58g

Suggest an improvement
Source
https://github.com/advisories/GHSA-mqq9-gxg5-m58g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-mqq9-gxg5-m58g/GHSA-mqq9-gxg5-m58g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mqq9-gxg5-m58g
Related
Withdrawn
2026-08-04T12:53:33Z
Published
2026-08-01T15:30:30Z
Modified
2026-08-04T15:11:58.852456285Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: Guzzle: URI fragments disclosed in redirect Referer headers
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-201"
    ],
    "github_reviewed_at": "2026-08-04T12:53:33Z",
    "nvd_published_at": "2026-08-01T13:17:06Z",
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

Packagist / guzzlehttp/guzzle

Package

Name
guzzlehtt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7.4.5
7.5.0
7.5.1
7.5.2
7.5.3
7.6.0
7.6.1
7.7.0
7.7.1
7.8.0
7.8.1
7.8.2
7.9.0
7.9.1
7.9.2
7.9.3
7.10.0
7.10.1
7.10.2
7.10.3
7.10.4
7.10.5
7.10.6
7.11.0
7.11.1
7.11.2
7.12.0
7.12.1
7.12.2
7.12.3
7.13.0
7.13.1
7.13.2
7.13.3
7.14.0
7.14.1
7.14.2
7.15.0
7.15.1
7.15.2
8.*
8.0.0
8.0.1

Database specific

last_known_affected_version_range
"< 7.15.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-mqq9-gxg5-m58g/GHSA-mqq9-gxg5-m58g.json"