GitHub Advisory Database
GHSA-72gw-fmmr-c4r4
HashiCorp Vault May Expose Tokens to Auth Plugins Due to Incorrect Header Sanitization
Details
If a Vault auth mount is configured to pass through the "Authorization" header, and the "Authorization" header is used to authenticate to Vault, Vault forwarded the Vault token to the auth plugin backend. Fixed in 2.0.0, 1.21.5, 1.20.10, and 1.19.16.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hashicorp/vault | From 0.11.2 up to and including 1.21.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-4525
- https://access.redhat.com/security/cve/CVE-2026-4525
- https://bugzilla.redhat.com/show_bug.cgi?id=2459107
- https://discuss.hashicorp.com/t/hcsec-2026-07-vault-may-expose-tokens-to-auth-plugins-due-to-incorrect-header-sanitization/77344
- https://github.com/advisories/GHSA-72gw-fmmr-c4r4
- https://github.com/hashicorp/vault
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4525.json