CVE-2024-5798

published 12 Jun 2024 · updated 4 Nov 2025

Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims

2.6LowCVSS 2.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Vault 1.16.2.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HashiCorpVault>=0.11.0 <1.16.21.16.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in HashiCorp, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5798 severity on Zeptric[![CVE-2024-5798](https://zeptric.io/badge/cve/CVE-2024-5798.svg)](https://zeptric.io/cve/CVE-2024-5798)