{"id":"BIT-vault-2024-5798","revision":null,"records":[{"revision":"40c388fd44064ddb84e277e9589fbbdf","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-5798","aliases":[],"title":"Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims","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","state":0,"publishedAt":"2024-06-12T18:55:24.788+00:00","modifiedAt":"2025-11-04T16:30:51.697+00:00","affected":[{"ecosystem":"Vendor product","name":"Vault","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"platforms\": [\n                        \"64 bit\",\n                        \"32 bit\",\n                        \"x86\",\n                        \"ARM\",\n                        \"MacOS\",\n                        \"Windows\",\n                        \"Linux\"\n                    ],\n                    \"product\": \"Vault\",\n                    \"repo\": \"https://github.com/hashicorp/vault\",\n                    \"vendor\": \"HashiCorp\",\n                    \"versions\": [\n                        {\n                            \"changes\": [\n                                {\n                                    \"at\": \"1.15.9\",\n                                    \"status\": \"unaffected\"\n                                },\n                                {\n                                    \"at\": \"1.14.13\",\n                                    \"status\": \"unaffected\"\n                                }\n                            ],\n                            \"lessThan\": \"1.16.2\",\n                            \"status\": \"affected\",\n                            \"version\": \"0.11.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Vault Enterprise","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"platforms\": [\n                        \"64 bit\",\n                        \"32 bit\",\n                        \"x86\",\n                        \"ARM\",\n                        \"MacOS\",\n                        \"Windows\",\n                        \"Linux\"\n                    ],\n                    \"product\": \"Vault Enterprise\",\n                    \"repo\": \"https://github.com/hashicorp/vault\",\n                    \"vendor\": \"HashiCorp\",\n                    \"versions\": [\n                        {\n                            \"changes\": [\n                                {\n                                    \"at\": \"1.15.9\",\n                                    \"status\": \"unaffected\"\n                                },\n                                {\n                                    \"at\": \"1.14.13\",\n                                    \"status\": \"unaffected\"\n                                }\n                            ],\n                            \"lessThan\": \"1.16.2\",\n                            \"status\": \"affected\",\n                            \"version\": \"0.11.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","score":2.6,"severity":"LOW"}],"references":["https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-5798","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-5798","identifiers":["CVE-2024-5798"]},"retained":false,"historicalAffected":[]},{"revision":"f2d5f465a0c64f27a95e66aba09bee36","observedAt":"2026-11-22T14:26:33.882+00:00","statement":{"source":"euvd","id":"EUVD-2024-1892","aliases":["CVE-2024-5798","GHSA-32cj-5wx4-gq8p"],"title":"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, …","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","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","score":2.6,"severity":null}],"references":["https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1892","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 12, 2024, 6:55:24 PM","dateUpdated":"Nov 4, 2025, 4:30:51 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2024-1365","title":"Hashicorp Vault: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen","vulnerabilityIds":["CVE-2024-5798"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-1892","identifiers":["EUVD-2024-1892","CVE-2024-5798","GHSA-32cj-5wx4-gq8p"]},"retained":false,"historicalAffected":[]},{"revision":"b689ac0fcdbc4335994dc86cc9642094","observedAt":"2026-10-25T01:17:17.137+00:00","statement":{"source":"nvd","id":"CVE-2024-5798","aliases":[],"title":"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, …","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","state":0,"publishedAt":"2024-06-12T19:15:51.413+00:00","modifiedAt":"2026-06-17T08:16:40.123+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security@hashicorp.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","score":2.6,"severity":"LOW"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-5798","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-287"],"productCriteria":["cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*"],"sourceDates":{"published":"2024-06-12T19:15:51.413","lastModified":"2026-06-17T08:16:40.123"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-5798","identifiers":["CVE-2024-5798"]},"retained":false,"historicalAffected":[]},{"revision":"d7c661ae5db046f2bdea698e611e2f0b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-32cj-5wx4-gq8p","aliases":["BIT-vault-2024-5798","CVE-2024-5798","GO-2024-2921"],"title":"HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims","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","state":0,"publishedAt":"2024-06-12T21:31:19+00:00","modifiedAt":"2026-08-07T08:12:02.3642723+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.17.0-rc1"},{"kind":"fixed","version":"1.17.0"}]}],"versions":["1.17.0-rc1"],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.16.0-rc1"},{"kind":"fixed","version":"1.16.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"1.15.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-5798","https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770","https://github.com/hashicorp/vault","https://pkg.go.dev/vuln/GO-2024-2921"],"sourceUrl":"https://github.com/advisories/GHSA-32cj-5wx4-gq8p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-32cj-5wx4-gq8p","identifiers":["GHSA-32cj-5wx4-gq8p","BIT-vault-2024-5798","CVE-2024-5798","GO-2024-2921"]},"retained":false,"historicalAffected":[]},{"revision":"ab144a15372147fdbbd6bb3ec7c731cf","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2921","aliases":["BIT-vault-2024-5798","CVE-2024-5798","GHSA-32cj-5wx4-gq8p"],"title":"HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims in github.com/hashicorp/vault","description":"HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims in github.com/hashicorp/vault.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/hashicorp/vault before v1.15.9.","state":0,"publishedAt":"2024-07-01T19:59:12+00:00","modifiedAt":"2026-08-07T08:12:33.4343716+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"1.16.3"},{"kind":"introduced","version":"1.17.0-rc1"},{"kind":"fixed","version":"1.17.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-32cj-5wx4-gq8p","https://nvd.nist.gov/vuln/detail/CVE-2024-5798","https://discuss.hashicorp.com/t/hcsec-2024-11-vault-incorrectly-validated-json-web-tokens-jwt-audience-claims/67770"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2921","license":"OSV · upstream source license applies","key":"osv:GO-2024-2921","identifiers":["GO-2024-2921","BIT-vault-2024-5798","CVE-2024-5798","GHSA-32cj-5wx4-gq8p"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-22T16:25:55.0701968+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T16:25:55.0701968+00:00","lastSuccessAt":"2026-11-22T16:25:55.2486505+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.2486514+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-a00cc431548e20f01f2da20f449eca4a9c3c2d80f0a99ee8150099224d339982-f889044d5952ca2c043a3f79edce0c851043d7aa07652c964a93712ef2aae335","complete":true,"records":430476,"lastAttemptAt":"2026-11-22T16:25:40.279669+00:00","lastSuccessAt":"2026-11-22T16:25:40.2330056+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.279669+00:00","snapshotPublishedAt":"2026-11-22T16:24:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-82e2c24a4f614937853e600b1d5b95b9","complete":false,"records":13928,"lastAttemptAt":"2026-11-22T16:28:09.6714324+00:00","lastSuccessAt":"2026-11-22T16:28:09.667+00:00","error":"31 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-22T16:28:09.667+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13944,"expectedIdentifiers":13976,"failedIdentifiers":31},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-22T16:25:55.0701968+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T16:25:55.0701968+00:00","lastSuccessAt":"2026-11-22T16:25:55.2495262+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.2495265+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b418bc3a0a804db68d2746e614753140","complete":false,"records":13940,"lastAttemptAt":"2026-11-22T16:26:20.8835169+00:00","lastSuccessAt":"2026-11-22T16:26:20.879+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:26:20.879+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13976,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T16:25:54.9004528+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:54.9004528+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-22T16:25:40.4282716+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.4282716+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-bee95050556198fd967bb73ce720a9ae414cd84a3b278a529e0def1a55b70f2d","complete":true,"records":3214,"lastAttemptAt":"2026-11-22T16:25:55.0134385+00:00","lastSuccessAt":"2026-11-22T11:25:37.2279658+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.0134385+00:00","snapshotPublishedAt":"2026-11-22T10:03:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-93f8bde17692d302a32a561f6a40a941db24e5e5c3d8083eda975620fb7a4483","complete":true,"records":232857,"lastAttemptAt":"2026-11-22T16:25:40.5269788+00:00","lastSuccessAt":"2026-11-22T08:27:07.8116265+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.5269788+00:00","snapshotPublishedAt":"2026-11-22T07:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}