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-2025-5662

CVE-2025-5662: H2O-3 REST API RCE Vulnerability

CVE-2025-5662 is a deserialization RCE flaw in the H2O-3 REST API affecting versions up to 3.46.0.7 that allows attackers to execute arbitrary code via improper JDBC validation. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 1, 2026

CVE-2025-5662 Overview

A critical deserialization vulnerability exists in the H2O-3 REST API that allows remote code execution (RCE) through improper validation of JDBC connection parameters. The vulnerability is present in the POST /99/ImportSQLTable endpoint and affects all versions of H2O-3 up to 3.46.0.7. When exploiting this flaw, attackers can leverage the Key-Value format in JDBC connection strings to execute arbitrary code on vulnerable systems without authentication.

Critical Impact

This vulnerability enables unauthenticated remote code execution, allowing attackers to completely compromise H2O-3 installations and potentially pivot to other systems within the network infrastructure.

Affected Products

  • H2O-3 versions up to 3.46.0.7
  • Systems using MySQL JDBC Driver version 8.0.19
  • Environments running JDK version 8u112

Discovery Timeline

  • 2025-09-02 - CVE-2025-5662 published to NVD
  • 2025-09-02 - Last updated in NVD database

Technical Details for CVE-2025-5662

Vulnerability Analysis

This deserialization vulnerability (CWE-502) stems from the H2O-3 REST API's failure to properly validate JDBC connection parameters when users submit requests to the ImportSQLTable endpoint. The vulnerability allows attackers to craft malicious JDBC connection strings that trigger unsafe deserialization of untrusted data, ultimately leading to arbitrary code execution on the target system.

The attack can be executed remotely over the network without requiring any authentication or user interaction. Successful exploitation results in complete system compromise, with attackers gaining the ability to execute arbitrary commands with the privileges of the H2O-3 process, read or modify sensitive data, and potentially use the compromised system as a foothold for lateral movement within the network.

Root Cause

The root cause lies in improper input validation within the JDBC connection parameter handling logic. When processing SQL import requests, the application fails to adequately sanitize or validate user-supplied connection strings in Key-Value format. This allows attackers to inject malicious serialized objects through the JDBC driver's autoDeserialize feature, which the MySQL JDBC Driver 8.0.19 processes without proper security controls.

Attack Vector

The attack is carried out by sending a specially crafted POST request to the /99/ImportSQLTable endpoint with malicious JDBC connection parameters. The attacker constructs a connection string that exploits the MySQL JDBC driver's deserialization capabilities.

An attacker would typically send a POST request to the vulnerable endpoint containing a JDBC URL with embedded serialized payload data. The connection string includes parameters that trigger the MySQL JDBC driver to deserialize attacker-controlled data, leading to code execution. Technical details of the exploitation methodology can be found in the Huntr bounty submission.

Detection Methods for CVE-2025-5662

Indicators of Compromise

  • Unexpected POST requests to the /99/ImportSQLTable endpoint from external or unauthorized sources
  • JDBC connection strings containing suspicious parameters such as autoDeserialize=true or encoded serialized objects
  • Unusual process spawning from the H2O-3 Java process
  • Network connections to unexpected destinations following SQL import requests

Detection Strategies

  • Monitor HTTP traffic for POST requests to /99/ImportSQLTable with anomalous JDBC URL patterns
  • Implement application-layer inspection to detect serialized Java objects in JDBC connection strings
  • Deploy endpoint detection and response (EDR) solutions to identify suspicious process behavior from H2O-3 services
  • Enable detailed logging on H2O-3 REST API endpoints and review for unusual activity patterns

Monitoring Recommendations

  • Configure network intrusion detection systems (NIDS) to alert on suspicious patterns in JDBC connection strings
  • Establish baseline network behavior for H2O-3 instances and alert on deviations
  • Monitor system calls and file system activity from the H2O-3 process for signs of exploitation
  • Implement real-time log analysis for REST API access patterns

How to Mitigate CVE-2025-5662

Immediate Actions Required

  • Upgrade H2O-3 to version 3.46.0.8 or later immediately
  • Restrict network access to the H2O-3 REST API to trusted sources only
  • Implement web application firewall (WAF) rules to filter malicious JDBC connection parameters
  • Review access logs for any signs of prior exploitation attempts

Patch Information

The vulnerability has been addressed in H2O-3 version 3.46.0.8. The fix implements proper validation and sanitization of JDBC connection parameters to prevent deserialization attacks. Organizations should apply this update as soon as possible. The specific code changes can be reviewed in the GitHub commit for H2O-3.

Workarounds

  • Place H2O-3 instances behind a reverse proxy with strict input validation
  • Disable or restrict access to the ImportSQLTable functionality if not required
  • Implement network segmentation to isolate H2O-3 instances from untrusted networks
  • Use firewall rules to limit which hosts can connect to the H2O-3 REST API
bash
# Example: Restrict access to H2O-3 REST API using iptables
iptables -A INPUT -p tcp --dport 54321 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 54321 -j DROP

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.8

  • EPSS Probability1.55%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Commit for H2O-3

  • Huntr Bounty Submission
  • Related CVEs
  • CVE-2024-5986: H2O.ai H2O-3 RCE Vulnerability

  • CVE-2025-6544: H2o H2o Deserialization RCE Vulnerability

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

  • CVE-2025-6507: H2O-3 Deserialization 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