CVE-2024-5798

LOW
Published Jun 12, 2024 Modified Nov 4, 2025 CWE-287

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

CVSS v3.1 Score

2.6
LOW
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

Weakness Type (CWE)

CWE-287 Improper Authentication

Affected Products

Vendor Product
hashicorp vault
hashicorp vault
hashicorp vault
hashicorp vault

References

Frequently Asked Questions

What is CVE-2024-5798? +
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 It has a CVSS v3.1 base score of 2.6 (LOW).
How severe is CVE-2024-5798? +
CVE-2024-5798 has a CVSS v3.1 score of 2.6 out of 10, rated LOW. This is a low-severity vulnerability with limited impact.
What products are affected by CVE-2024-5798? +
CVE-2024-5798 affects products from hashicorp, specifically: vault. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-5798? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-5798 — free, no signup required.

Start Free Scan