BreachSpiderVerified, not vibes

CVE-2024-8365 in Hashicorp Vault

Medium 6.5 Fix available

Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.5
EPSS0.7%
EPSS percentile49th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Hashicorp Vault < 1.17.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability, CVE-2024-8365, was fixed in Vault Community Edition and Vault Enterprise 1.17.5 and Vault Enterprise 1.16.9.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-8365
BreachSpider IDBS-2024-GLOBAL-047232-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Published2024-09-02
Last modified2024-09-04
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-532: CWE-532

Related attack patterns (CAPEC)

CAPEC-215 Fuzzing for application mapping via CWE-532

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-8365 affects Vault Community Edition and Vault Enterprise by removing HMAC functionality for sensitive headers in the audit device, leading to plaintext storage of client tokens and token accessors in the audit log.

An attacker with access to the audit logs could exploit this vulnerability to obtain plaintext client tokens and token accessors, potentially leading to unauthorized access to Vault resources.

Questions

What is CVE-2024-8365?

CVE-2024-8365 affects Vault Community Edition and Vault Enterprise by removing HMAC functionality for sensitive headers in the audit device, leading to plaintext storage of client tokens and token accessors in the audit log.

What is the CVSS score for CVE-2024-8365?

CVE-2024-8365 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N. EPSS: 0.7%.

Is CVE-2024-8365 actively exploited?

No confirmed active exploitation of CVE-2024-8365 as of 2026-05-30.

How do I remediate CVE-2024-8365?

Priority: HIGH. Advisory: https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/ PSIRT: [email protected]

What systems are affected by CVE-2024-8365?

CVE-2024-8365 affects Hashicorp Vault.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Hashicorp","product":"Vault","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-09-04.