The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-8365

CVE-2024-8365: Hashicorp Vault Information Disclosure

CVE-2024-8365 is an information disclosure flaw in Hashicorp Vault that exposes plaintext client tokens and token accessors in audit logs. This article covers technical details, affected versions, and mitigation steps.

Updated: January 22, 2026

CVE-2024-8365 Overview

CVE-2024-8365 is an information disclosure vulnerability affecting HashiCorp Vault Community Edition and Vault Enterprise. A regression was introduced that removed the HMAC functionality for sensitive headers in the configured audit device, specifically client tokens and token accessors. This resulted in plaintext values of client tokens and token accessors being stored in the audit log, potentially exposing sensitive authentication credentials to unauthorized parties with access to audit logs.

Critical Impact

Client tokens and token accessors are written in plaintext to audit logs, potentially allowing attackers with audit log access to harvest valid authentication credentials and gain unauthorized access to Vault secrets.

Affected Products

  • HashiCorp Vault Community Edition (versions prior to 1.17.5)
  • HashiCorp Vault Enterprise (versions prior to 1.17.5)
  • HashiCorp Vault Enterprise (versions prior to 1.16.9)

Discovery Timeline

  • 2024-09-02 - CVE-2024-8365 published to NVD
  • 2024-09-04 - Last updated in NVD database

Technical Details for CVE-2024-8365

Vulnerability Analysis

This vulnerability is classified under CWE-532 (Insertion of Sensitive Information into Log File). The core issue stems from a code regression that inadvertently removed the HMAC (Hash-based Message Authentication Code) protection mechanism that previously obscured sensitive header values in audit logs.

Under normal operation, HashiCorp Vault hashes sensitive information such as client tokens and token accessors before writing them to audit devices. This ensures that even if audit logs are compromised, the actual authentication credentials remain protected. However, due to this regression, the HMAC function was no longer applied to these specific headers, causing them to be written in their original plaintext form.

The vulnerability requires network access and some user interaction to exploit, as an attacker would need to gain access to the audit log storage location. However, the confidentiality impact is significant since exposed tokens could grant full access to Vault secrets.

Root Cause

The root cause of CVE-2024-8365 is a software regression that removed the HMAC transformation applied to client tokens and token accessors before they are written to audit devices. This was likely introduced during code refactoring or feature updates, where the cryptographic protection mechanism was inadvertently bypassed or removed for these specific header fields.

Attack Vector

The attack vector for this vulnerability is network-based. An attacker who gains access to Vault's audit logs—whether through compromised log aggregation systems, insecure log storage, or insider access—can directly extract valid client tokens and token accessors. These credentials can then be used to authenticate to the Vault instance and access stored secrets without requiring additional exploitation.

The attack scenario typically involves:

  1. Gaining access to systems where Vault audit logs are stored (e.g., SIEM systems, log aggregators, backup systems)
  2. Searching audit log entries for plaintext client tokens and token accessors
  3. Using extracted tokens to authenticate to the Vault API
  4. Accessing secrets and sensitive data stored within Vault

Detection Methods for CVE-2024-8365

Indicators of Compromise

  • Presence of plaintext client tokens in audit log files (tokens typically begin with hvs. or s. prefixes)
  • Unusual access patterns to Vault audit log storage locations
  • Authentication events using tokens that were logged in audit devices
  • Unexpected Vault API access from unusual IP addresses or at unusual times

Detection Strategies

  • Review audit logs for entries containing plaintext token values instead of HMAC hashes
  • Implement monitoring for any access to audit log storage systems
  • Enable alerting for Vault authentication events that originate from unexpected sources
  • Compare token formats in recent audit logs against historical entries to identify the regression point

Monitoring Recommendations

  • Implement file integrity monitoring on audit log directories
  • Configure alerts for bulk access or export of audit log data
  • Monitor Vault authentication patterns for anomalies following potential token exposure
  • Track access to log aggregation systems that receive Vault audit data

How to Mitigate CVE-2024-8365

Immediate Actions Required

  • Upgrade HashiCorp Vault Community Edition to version 1.17.5 or later
  • Upgrade HashiCorp Vault Enterprise to version 1.17.5 or 1.16.9 or later
  • Revoke and rotate all client tokens that may have been logged during the vulnerable period
  • Audit access logs for audit log storage systems to identify potential unauthorized access
  • Review and restrict permissions to audit log storage locations

Patch Information

HashiCorp has released fixed versions that restore the HMAC functionality for sensitive headers in audit devices. The fix is available in Vault Community Edition 1.17.5 and Vault Enterprise versions 1.17.5 and 1.16.9. Organizations should upgrade to these patched versions immediately. For detailed information, refer to the HashiCorp Security Advisory HCSEC-2024-18.

Workarounds

  • Restrict access to audit log storage to essential personnel only
  • Implement encryption at rest for audit log storage locations
  • Consider temporarily disabling audit logging if the risk of token exposure outweighs audit requirements (not recommended for compliance environments)
  • Implement additional network segmentation to isolate audit log storage systems
  • Enable audit log forwarding to a secured, access-controlled SIEM system
bash
# Configuration example - Rotate tokens after patching
# List all token accessors
vault list auth/token/accessors

# Revoke tokens that may have been exposed
vault token revoke -accessor <accessor_id>

# Verify audit device is configured correctly after upgrade
vault audit list -detailed

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechHashicorp Vault

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Vendor Resources
  • HashiCorp Security Advisory HCSEC-2024-18
  • Related CVEs
  • CVE-2025-4166: HashiCorp Vault Information Disclosure Bug

  • CVE-2025-6203: HashiCorp Vault DoS Vulnerability

  • CVE-2024-7594: HashiCorp Vault Auth Bypass Vulnerability

  • CVE-2025-6000: HashiCorp Vault RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English