Read the docs
TI-2024-05375 Aliases CVE-2024-5798GHSA-32cj-5wx4-gq8p

Vault Incorrectly Validated JSON Web Tokens (JWT) Audience Claims

Priority LOW 33CWE-287Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00343 28th percentileScored 2026-11-07
Fix Partial Vault (HashiCorp): 1.16.2Vault Enterprise (HashiCorp): 1.16.2+1 more productRed Hat: 2 without a fix

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

VendorProductAffected versionsFixed inStatusSource
HashiCorpVault0.11.0 to before 1.16.21.16.2Patch availableCNA
HashiCorpVault Enterprise0.11.0 to before 1.16.21.16.2Patch availableCNA
—github.com/hashicorp/vault (Go)1.17.0-rc1 to before 1.17.01.17.0Patch availableGHSA-32cj-5wx4-gq8p
—github.com/hashicorp/vault (Go)1.16.0-rc1 to before 1.16.31.16.3Patch availableGHSA-32cj-5wx4-gq8p
—github.com/hashicorp/vault (Go)0.11.0 to before 1.15.91.15.9Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*0.11.0 to before 1.15.9VulnerableHashiCorp
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*0.11.0 to before 1.15.9VulnerableHashiCorp
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*1.16.0 to before 1.16.3VulnerableHashiCorp
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*1.16.0 to before 1.16.3VulnerableHashiCorp
  • 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 →

ProductStatusPlan or fix
Red Hat Openshift Data Foundation 4AffectedNo fix yet
Red Hat Trusted Application PipelineAffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat Openshift Data Foundation 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-5798
  2. 2026-10-03 Alias added: GHSA-32cj-5wx4-gq8p

References

  • 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
See all 71 →

Sources