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

Read the record on cve.org

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

CVSSScoreVectorSource
3.12.6 LowCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:NHashiCorp

Weaknesses

Affected Products

ProductVersions
VaultHashiCorp
  • 0.11.0 to before 1.16.2Affectedfrom 1.15.9Not affectedfrom 1.14.13Not affected
Vault EnterpriseHashiCorp
  • 0.11.0 to before 1.16.2Affectedfrom 1.15.9Not affectedfrom 1.14.13Not affected

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.