CVE-2024-5798 LOW

CVE-2024-5798: Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims

Vendor Hashicorp
Product Vault
Weakness CWE-287 · Improper authentication
Published June 12, 2024
Last update November 4, 2025

CVSS base score

2.6/10
Attack vector Network
Attack complexity High
Privileges required High
User interaction Required
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

June 12, 2024 CVE published
November 4, 2025 Record updated