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-5986

CVE-2024-5986: H2O.ai H2O-3 RCE Vulnerability

CVE-2024-5986 is a remote code execution flaw in H2O.ai H2O-3 that allows attackers to write arbitrary data to server files. This post explains the technical details, affected versions, impact, and mitigation steps.

Published: February 6, 2026

CVE-2024-5986 Overview

A critical arbitrary file write vulnerability exists in h2oai/h2o-3 version 3.46.0.1 that allows remote attackers to write arbitrary data to any file on the server. This vulnerability is exploited by chaining the /3/Parse endpoint with the /3/Frames/framename/export endpoint, enabling attackers to inject malicious content as headers into files and export them to arbitrary locations on the filesystem.

Critical Impact

Remote attackers can overwrite critical system files including private SSH keys, crontab entries, or script files, potentially leading to remote code execution and complete system compromise.

Affected Products

  • h2oai/h2o-3 version 3.46.0.1

Discovery Timeline

  • 2026-02-02 - CVE CVE-2024-5986 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2024-5986

Vulnerability Analysis

This vulnerability is classified under CWE-73 (External Control of File Name or Path), representing a severe arbitrary file write condition. The flaw allows unauthenticated remote attackers to write attacker-controlled content to any file path accessible to the H2O-3 process on the target server.

The attack chain leverages two legitimate API endpoints in combination. The /3/Parse endpoint is designed to parse data files and create frames from them, while the /3/Frames/framename/export endpoint exports frame data to files. By manipulating the parsing process, attackers can inject arbitrary data as the header of an empty file, then use the export functionality to write this malicious content to any location on the filesystem.

The impact is severe as it enables attackers to overwrite security-critical files such as ~/.ssh/authorized_keys to add rogue SSH keys, modify crontab files to schedule malicious commands, or replace legitimate script files with malicious versions that execute when triggered.

Root Cause

The root cause lies in insufficient validation and sanitization of user-controlled input in the file parsing and export pipeline. The application fails to properly restrict the file path destinations for exported frames and does not adequately validate the content being written. This external control of file names and paths allows attackers to escape intended directory boundaries and write to arbitrary filesystem locations.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker can remotely exploit this vulnerability by:

  1. Sending a crafted request to the /3/Parse endpoint with malicious header content
  2. Creating an empty data frame with the injected content as header information
  3. Using the /3/Frames/framename/export endpoint to export the frame to an arbitrary file path
  4. The malicious content is written to the target file, overwriting existing content

The vulnerability manifests in the frame parsing and export functionality. For technical details and proof-of-concept information, see the Huntr Vulnerability Report.

Detection Methods for CVE-2024-5986

Indicators of Compromise

  • Unexpected modifications to critical system files such as SSH keys, crontab, or system scripts
  • Unusual API requests to /3/Parse or /3/Frames/*/export endpoints with suspicious path parameters
  • File writes by the H2O-3 process to locations outside the expected data directories
  • New or modified files in sensitive directories that correlate with H2O-3 service activity

Detection Strategies

  • Monitor HTTP requests to H2O-3 API endpoints for path traversal patterns (e.g., ../, absolute paths)
  • Implement file integrity monitoring on critical system files and directories
  • Set up alerting for H2O-3 process file operations outside designated data directories
  • Review web server and application logs for anomalous export endpoint usage patterns

Monitoring Recommendations

  • Enable verbose logging for H2O-3 API endpoints and monitor for suspicious activity
  • Deploy endpoint detection and response (EDR) solutions to monitor file system changes
  • Configure network intrusion detection to alert on exploitation attempts targeting the Parse and Export endpoints
  • Establish baseline behavior for the H2O-3 service and alert on deviations

How to Mitigate CVE-2024-5986

Immediate Actions Required

  • Restrict network access to H2O-3 instances to trusted networks only
  • Place H2O-3 behind an authenticated reverse proxy to prevent unauthorized access
  • Run the H2O-3 service with minimal filesystem permissions using a dedicated low-privilege user account
  • Implement application-level firewalls to filter malicious API requests

Patch Information

Consult the H2O-3 project for updated versions that address this vulnerability. Review the Huntr Vulnerability Report for additional remediation guidance and check the official h2oai/h2o-3 repository for security patches or updated releases.

Workarounds

  • Isolate H2O-3 instances in containers or virtual machines with restricted filesystem access
  • Configure read-only filesystem mounts for sensitive directories
  • Implement strict network segmentation to limit exposure of the H2O-3 API
  • Use mandatory access control systems (SELinux, AppArmor) to restrict file write operations
bash
# Example: Restrict H2O-3 service to dedicated user with limited permissions
# Create dedicated service user
useradd -r -s /bin/false h2o-service

# Restrict directory permissions
chown -R h2o-service:h2o-service /opt/h2o-3/data
chmod 700 /opt/h2o-3/data

# Run H2O-3 with restricted user
sudo -u h2o-service java -jar /opt/h2o-3/h2o.jar

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechH2o

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-73
  • Technical References
  • Huntr Vulnerability Report
  • Related CVEs
  • CVE-2025-6544: H2o H2o Deserialization RCE Vulnerability

  • CVE-2025-10769: H2O H2O-3 RCE Vulnerability

  • CVE-2025-6507: H2O-3 Deserialization RCE Vulnerability

  • CVE-2025-5662: H2O-3 REST API 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