Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-287.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HashiCorp | Vault | 0.11.0 to before 1.16.2 | 1.16.2 | Patch available | CNA |
| HashiCorp | Vault Enterprise | 0.11.0 to before 1.16.2 | 1.16.2 | Patch available | CNA |
| — | github.com/hashicorp/vault (Go) | 1.17.0-rc1 to before 1.17.0 | 1.17.0 | Patch available | GHSA-32cj-5wx4-gq8p |
| — | github.com/hashicorp/vault (Go) | 1.16.0-rc1 to before 1.16.3 | 1.16.3 | Patch available | GHSA-32cj-5wx4-gq8p |
| — | github.com/hashicorp/vault (Go) | 0.11.0 to before 1.15.9 | 1.15.9 | Patch available | GHSA-32cj-5wx4-gq8p |
- Vault VendorHashiCorp Affected 0.11.0 to before 1.16.2 Fixed in 1.16.2 Patch available CNA
- Vault Enterprise VendorHashiCorp Affected 0.11.0 to before 1.16.2 Fixed in 1.16.2 Patch available CNA
- github.com/hashicorp/vault (Go) Vendor— Affected 1.17.0-rc1 to before 1.17.0 Fixed in 1.17.0 Patch available GHSA-32cj-5wx4-gq8p
- github.com/hashicorp/vault (Go) Vendor— Affected 1.16.0-rc1 to before 1.16.3 Fixed in 1.16.3 Patch available GHSA-32cj-5wx4-gq8p
- github.com/hashicorp/vault (Go) Vendor— Affected 0.11.0 to before 1.15.9 Fixed in 1.15.9 Patch available GHSA-32cj-5wx4-gq8p
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* | 0.11.0 to before 1.15.9 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* | 0.11.0 to before 1.15.9 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* | 1.16.0 to before 1.16.3 | Vulnerable | HashiCorp |
| cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* | 1.16.0 to before 1.16.3 | Vulnerable | HashiCorp |
- cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* Versions 0.11.0 to before 1.15.9 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* Versions 0.11.0 to before 1.15.9 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* Versions 1.16.0 to before 1.16.3 Vulnerable ·HashiCorp
- cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* Versions 1.16.0 to before 1.16.3 Vulnerable ·HashiCorp
Remediation
- Fix · CNA Vault (HashiCorp) Fixed in 1.16.2
- Fix · CNA Vault Enterprise (HashiCorp) Fixed in 1.16.2
- Fix · GHSA-32cj-5wx4-gq8p github.com/hashicorp/vault (Go) Fixed in 1.17.0 Advisory →
- Fix · GHSA-32cj-5wx4-gq8p github.com/hashicorp/vault (Go) Fixed in 1.16.3 Advisory →
- Fix · GHSA-32cj-5wx4-gq8p github.com/hashicorp/vault (Go) Fixed in 1.15.9 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet |
| Red Hat Trusted Application Pipeline | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Openshift Data Foundation 4
Timeline
- 2026-10-02 Threatist record created from CVE-2024-5798
- 2026-10-03 Alias added: GHSA-32cj-5wx4-gq8p
References
More HashiCorp Vault vulnerabilities
- TI-2024-01904 Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates CVSS 3.1CRITICAL 9.8
- TI-2022-19053 An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. CVSS 3.1CRITICAL 9.1
- TI-2020-17874 The official vault docker images before 0.11.6 contain a blank password for a root user. CVSS 3.1CRITICAL 9.8
- TI-2020-10142 HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP… CVSS 3.1CRITICAL 9.8
- TI-2026-04407 Vault Vulnerable to Server-Side Request Forgery in ACME Challenge Validation via Attacker-Controlled DNS CVSS 3.1HIGH 8.6
- TI-2025-05421 Arbitrary Remote Code Execution via Plugin Catalog Abuse CVSS 3.1CRITICAL 9.1
Sources
- CVE-2024-5798 · CVE Program
- CVE-2024-5798 · NVD
- FIRST EPSS
- GHSA-32cj-5wx4-gq8p · GitHub Advisory Database · CC BY 4.0
- CVE-2024-5798 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences