CVE-2024-5798

Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims

Published Jun 12, 2024 CVSS 3.1 · 2.6 Low EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1892 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
Github GHSA Github GHSA GHSA-32cj-5wx4-gq8p HashiCorp Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-287
Type Values Removed Values Added
CPEs cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Nov 4, 2025, 4:30 PM
Reserved
Jun 10, 2024, 3:46 PM
Status
Modified
Published
Jun 12, 2024, 7:15 PM
Modified
Jun 17, 2026, 8:16 AM
Severity
Low
Public date
Jun 12, 2024, 12:00 AM