CVE-2024-5798: hashicorp vault Improper Authentication
Vulnerability summary
CVE-2024-5798 is a high (CVSS 7.5) Improper Authentication vulnerability in hashicorp vault. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 26.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 3Timeline
- 12-06-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA2.6LowCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:NDiffers
- OSV · GoEcosystem advisory · calculated2.6LowCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
0.00 pp
From 0.34% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Hashicorp2 products
- vault≥ 0.11.0, < 1.16.2 | ≥ 0.11.0, < 1.15.9 | ≥ 1.16.0, < 1.16.3
- vault enterprise≥ 0.11.0, < 1.16.2
Github.com/hashicorp1 product
- vault≥ 1.16.0-rc1, < 1.16.3 | ≥ 0.11.0, < 1.15.9 | ≥ 1.17.0-rc1, < 1.17.0
2 vendors · 3 products
References
5 links- github.com/hashicorp/vaultPACKAGE