{"id":"CVE-2024-5798","aliases":["BIT-vault-2024-5798","GHSA-32cj-5wx4-gq8p","GO-2024-2921"],"url":"https://o3.security/vulnerability/CVE-2024-5798","summary":"Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims","details":"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","published":"2024-06-12T18:55:24.788Z","modified":"2026-08-12T03:51:36.663558219Z","cvss":{"score":2.6,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","fixedVersion":"1.17.0"},{"ecosystem":"Go","name":"github.com/hashicorp/vault","fixedVersion":"1.16.3"},{"ecosystem":"Go","name":"github.com/hashicorp/vault","fixedVersion":"1.15.9"}],"fix":null,"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5798.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5798"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:36.663558219Z"}}