CVE-2026-4525: HashiCorp Vault May Expose Tokens to Auth Plugins Due to Incorrect Header Sanitization
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.
Published Apr 17, 2026 · Updated Jul 21, 2026
Affected packages
github.com/hashicorp/vault
- Ecosystem
- Go
- Affected
- >= 0.11.2, <= 1.21.4
- Fixed in
- No patched version yet
- Check
go list -m github.com/hashicorp/vault
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-4525
- https://discuss.hashicorp.com/t/hcsec-2026-07-vault-may-expose-tokens-to-auth-plugins-due-to-incorrect-header-sanitization/77344
- https://access.redhat.com/security/cve/CVE-2026-4525
- https://bugzilla.redhat.com/show_bug.cgi?id=2459107
- https://github.com/advisories/GHSA-72gw-fmmr-c4r4
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4525.json
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-3605
HashiCorp Vault has a KVv2 Metadata and Secret Deletion Policy Bypass that leads to Denial-of-Service
high8.1No fixApr 17, 2026CVE-2026-5052
HashiCorp Vault has Server-Side Request Forgery in ACME Challenge Validation via Attacker-Controlled DNS
medium5.3No fixApr 17, 2026CVE-2026-5807
HashiCorp Vault Vulnerable to Denial-of-Service via Unauthenticated Root Token Generation/Rekey Operations
high7.5No fixApr 17, 2026CVE-2025-11621
HashiCorp Vault and Vault Enterprise's AWS Auth method may be susceptible to authentication bypass
high8.1Oct 23, 2025CVE-2025-12044
Hashicorp Vault and Vault Enterprise vulnerable to a denial of service when processing JSON
high7.5Oct 23, 2025CVE-2025-6203
HashiCorp Vault Community Edition Denial of Service Though Complex JSON Payloads
high7.5Aug 28, 2025
