{"id":"CVE-2024-5798","published":"2024-06-12T18:55:24Z","modified":"2025-11-04T16:30:51Z","title":"Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.\n\nThis vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9","provenance":"source","from":"CVE.org"},"cvss":{"score":2.6,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00343,"percentile":0.28611,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":5.72},{"name":"CVSS severity","points":1.82}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":[">= 0.11.0, < 1.16.2"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":[">= 0.11.0, < 1.16.2"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":["1.15.9","1.14.13"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":["1.15.9","1.14.13"]}],"capec":[{"id":"CAPEC-1","name":"Accessing Functionality Not Properly Constrained by ACLs"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-13T19:32:41.996739Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":[">=1.17.0-rc1, <1.17.0",">=1.16.0-rc1, <1.16.3",">=0.11.0, <1.15.9",">=0.11.0, <1.16.3"],"patched":["1.17.0","1.16.3","1.15.9"],"from":["GHSA-32cj-5wx4-gq8p","GO-2024-2921"],"provenance":"source"}],"summary":{"text":"The Vault JWT auth method in HashiCorp Vault and Vault Enterprise fails to properly validate the role-bound audience claim of JSON Web Tokens, which is classed as improper authentication. An attacker with network access who already holds valid credentials and can get a user to interact with a crafted request, under a high-complexity condition, could have a JWT whose audience and role-bound claims do not match accepted, allowing an invalid login to succeed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:03Z"},"euvd":{"id":"EUVD-2024-1892","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-0831","published":"2024-02-01","fixed":"1.15.5","kev":false},{"cve":"CVE-2024-2048","published":"2024-03-04","fixed":"1.15.5","kev":false,"link":{"from":"CVE-2024-2048","to":"CVE-2024-5798","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.15.5","toFixed":"1.15.9","daysApart":100}]}},{"cve":"CVE-2024-2660","published":"2024-04-04","fixed":"1.16.0","kev":false},{"cve":"CVE-2024-5798","published":"2024-06-12","fixed":"1.17.0","kev":false},{"cve":"CVE-2024-6468","published":"2024-07-11","fixed":"1.17.2","kev":false,"link":{"from":"CVE-2024-5798","to":"CVE-2024-6468","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.15.9","toFixed":"1.15.12","daysApart":29}]}},{"cve":"CVE-2024-8365","published":"2024-09-02","fixed":"1.17.5","kev":false},{"cve":"CVE-2024-7594","published":"2024-09-26","fixed":"1.17.6","kev":false}],"package":"Go:github.com/hashicorp/vault"}}