CVE-2024-5798
Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims
- State
- Published
- Severity
- 2.6 Low
- Published
- Jun 12, 2024
- Updated
- Nov 4, 2025
- Reserved
- Jun 10, 2024
Description
Vault and Vault Enterprise did not properly validate the JSON Web Token (JWT) role-bound audience claim when using the Vault JWT auth method. This may have resulted in Vault validating a JWT the audience and role-bound claims do not match, allowing an invalid login to succeed when it should have been rejected.
This vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 2.6 Low | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N | HashiCorp |
Weaknesses
- CWE-287 Improper Authentication
Affected Products
| Product | Versions |
|---|---|
VaultHashiCorp |
|
Vault EnterpriseHashiCorp |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.