CVE-2024-5798: HashiCorp Vault · Improper Authentication
Affects HashiCorp VaultSource CVE Database V5
Not known to be exploited · CVSS 2.6 High : upgrade to 1.15.9 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.15.9
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade HashiCorp Vault to 1.15.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| HashiCorp Vault | Affected
| Fixed in
|
AI-suggested
European organizations should immediately upgrade HashiCorp Vault and Vault Enterprise to versions 1.15.9, 1.16.3, 1.17.0, or later to remediate CVE-2024-5798. Additionally, organizations should audit their JWT authentication configurations to ensure strict validation of audience and role-bound claims, preventing acceptance of tokens with mismatched claims. Implementing robust monitoring and alerting on authentication anomalies can help detect potential exploitation attempts. Restricting privileges to minimize who can authenticate via JWT and enforcing multi-factor authentication where possible will reduce risk. Regularly reviewing Vault audit logs for suspicious login activity is recommended. Organizations should also validate their incident response plans to quickly address any unauthorized access. Finally, educating DevOps and security teams about this vulnerability and secure JWT handling practices will strengthen overall security posture.
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