{"id":"EUVD-2024-1892","enisaUuid":"ef7408c9-d624-3759-8bdc-f896a56681f1","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.\n\nThis vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9","datePublished":"Jun 12, 2024, 6:55:24 PM","dateUpdated":"Nov 4, 2025, 4:30:51 PM","baseScore":2.6,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","references":"https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770\n","aliases":"CVE-2024-5798\nGHSA-32cj-5wx4-gq8p\n","assigner":"HashiCorp","epss":0.34,"enisaIdProduct":[{"id":"8257a3db-499b-3adc-bdbd-6ade67791ce2","product":{"name":"Vault Enterprise","vendor":{"name":"Hashicorp"}},"product_version":"0.11.0 \u003c1.16.2"},{"id":"c86bdec7-98f1-306f-ada6-9bbfc02f1c3b","product":{"name":"Vault","vendor":{"name":"Hashicorp"}},"product_version":"0.11.0 \u003c1.16.2"}],"enisaIdVendor":[{"id":"62050ecb-db38-3413-88e3-5155f3f57b87","vendor":{"name":"Hashicorp"}}],"enisaIdVulnerability":[{"id":"471c2049-6729-3056-a8fd-b8f3bc87e0bf","vulnerability":{"id":"GHSA-32cj-5wx4-gq8p","description":"HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims","datePublished":"Jun 12, 2024, 9:31:19 PM","dateUpdated":"Aug 7, 2025, 6:20:35 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2024-5798\nhttps://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770\nhttps://github.com/hashicorp/vault\nhttps://pkg.go.dev/vuln/GO-2024-2921\n","enisa_id":"EUVD-2024-1892\n","aliases":"CVE-2024-5798\nGHSA-32cj-5wx4-gq8p\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:37:19 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"50756c86-8081-3831-981e-ab0bbb19ec2a","vulnerability":{"id":"CVE-2024-5798","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.\n\nThis vulnerability, CVE-2024-5798, was fixed in Vault and Vault Enterprise 1.17.0, 1.16.3, and 1.15.9","datePublished":"Jun 12, 2024, 6:55:24 PM","dateUpdated":"Nov 4, 2025, 4:30:51 PM","status":"PUBLISHED","baseScore":2.6,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","references":"https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770\n","enisa_id":"EUVD-2024-1892\n","assigner":"HashiCorp","epss":0.34,"dataProcessed":"Nov 20, 2026, 7:26:24 AM","vulnerabilityProduct":[{"id":"88a8d354-592a-3705-a683-ccba2c383dc1","product":{"name":"Vault Enterprise","vendor":{"name":"Hashicorp"}},"product_version":"0.11.0 \u003c1.16.2"},{"id":"b12e3073-d29b-36a2-ac77-58a9b6189894","product":{"name":"Vault","vendor":{"name":"Hashicorp"}},"product_version":"0.11.0 \u003c1.16.2"}],"vulnerabilityVendor":[{"id":"c77e3707-cb0b-3cdf-944e-3475777de195","vendor":{"name":"Hashicorp"}}]}}],"enisaIdAdvisory":[{"id":"bf895094-24a7-33e8-b9ca-c7d6a464fd07","advisory":{"id":"WID-SEC-W-2024-1365","description":"Hashicorp Vault: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen","summary":"Ein entfernter Angreifer mit hohen Privilegien kann eine Schwachstelle in Hashicorp Vault ausnutzen, um Sicherheitsvorkehrungen zu umgehen.","datePublished":"Jun 12, 2024, 10:00:00 PM","dateUpdated":"Jun 12, 2024, 10:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1365.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2024-1365\n","aliases":"CVE-2024-5798\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"31f60e9c-e01b-3aec-bdc4-dc672437b44d","product":{"name":"Hashicorp Vault \u003c1.17.0","vendor":{"name":"Hashicorp"}}},{"id":"39b6e73c-23f5-3ab7-a7f5-7d91adce1d0d","product":{"name":"Hashicorp Vault \u003c1.15.9","vendor":{"name":"Hashicorp"}}},{"id":"9ad47c25-ea9b-3c1a-88a5-cc544cb39cf4","product":{"name":"Hashicorp Vault \u003c1.16.3","vendor":{"name":"Hashicorp"}}},{"id":"cd7325f7-44a2-33fc-9f9d-b7f238430792","product":{"name":"Vault","vendor":{"name":"Hashicorp"}}}]}}]}